Consultations with context
Send questions and conversation history. Orient the style, scope and format of the answer with an additional instruction of up to 2,000 characters.
Connect Jusneural to your systems and automations. Send questions, PDFs, images or audios and receive answers in JSON.
Payment by use · API own balance · Pix or card
/api/api-jusneural/consultar// Sua aplicação envia
{
"model": "jusneural-2.0-pro",
"messages": [{
"role": "user",
"content": "Analise os riscos deste contrato."
}],
"max_cost_cents": 1000
}
// A resposta traz texto, uso e cobrança
choices[0].message.content
usage → tokens confirmados
billing → custo e saldo em reais
illustrative example. See the full headers and code in the documentation.
Use the template jusneural-2.0-pro on the server of your application and adapt the instructions to the context of each task.
Send questions and conversation history. Orient the style, scope and format of the answer with an additional instruction of up to 2,000 characters.
Combine text with PDFs, images and audios, sent by multipart or base64. Up to 4 attachments, with a maximum of one audio per call.
Activate web: true when you need to search the web, in addition to the legal queries of the service.
Set the maximum allowed value with max_cost_cents. The API reserves this value and releases the unused portion when closing the call.
Create keys with nicknames to identify your integrations. See balance, tokens, cost per key, recent consumption and payment history.
Identify each operation with Idempotency-Key and check your status. Repeating the same operation recovers the result without a new generation.
The API portfolio is independent of the signatures and tokens of the other Jusneural services. Consumption is debited from the balance as confirmed tokens.
R$ 31,38
for 1 million tokens
Includes service instructions, history, attachments and tool entries.
R$ 120,29
for 1 million tokens
Includes generated text and reasoning tokens, even when they are not displayed.
R$ 300,00
in credits in the API wallet
Recharge by Pix or credit card on the dashboard and follow the available balance.
Please inform the total incoming and outgoing tokens. The estimate uses the rates above.
Formula: (input × 31.38 + output × 120.29) ÷ 1,000,000. Actual billing covers every stage with confirmed usage, including reasoning and tools. Operations that end in an error can also incur usage. See usage e billing in the answer.
Access the API panel with your account registered. Create a nickname key and copy it: the full key is displayed only once. Save it in your server environment.
Reload API wallet by Pix or card. Have balance available for authorized call budget; default is a reserve of R$ 10.00 per operation.
Send a POST with your Bearer key and an operation identifier. Read the answer in JSON and follow the consumption on the panel. There are examples in six languages in the documentation.
Use of the API is independent of the plans. Anyone registered can create a key and reload the API wallet. API credits do not use tokens or balance from other Jusneural services.
Reload adds balance to wallet. When starting a call, max_cost_cents authorizes and reserves a maximum value, from R$ 0.01 to R$ 300.00; the standard is R$ 10.00. When closing, the API debits the confirmed consumption and releases the reserved value that was not used.
PDF, JPEG, PNG, WebP and MP3 audios, M4A/MP4, WAV, OGG, FLAC and WebM. The limit is 4 files in the history, with a maximum of one audio, with up to 5 MiB per file and 10 MiB in total. PDFs need to be passwordless. Annexes documentation.
The generation is synchronous and returns the entire response to JSON without streaming. Set the client timeout to 120 seconds. In connection failure, see the operation with it Idempotency-Key before you start another generation.
Use same API key, same Idempotency-Key and the same data recovers the result of the operation, without new generation. The result is available for 24 hours. The status query via GET does not generate tokens or billing. A new generation needs another identifier.
In an environment variable or server secret manager. Authentication uses Authorization: Bearer. The key lets you consume the balance of the API; keep it out of public pages, distributed applications and repositories.
See the full reference or access the panel to create a key and add credits.