Skip to content
Jusneural 2.0 Pro

Legal intelligence in its application.

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

One integration, new legal flows.
POST/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.

From Question to Document

An API for your legal flows

Use the template jusneural-2.0-pro on the server of your application and adapt the instructions to the context of each task.

01

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.

02

File Analysis

Combine text with PDFs, images and audios, sent by multipart or base64. Up to 4 attachments, with a maximum of one audio per call.

03

Optional web search

Activate web: true when you need to search the web, in addition to the legal queries of the service.

04

Budget per operation

Set the maximum allowed value with max_cost_cents. The API reserves this value and releases the unused portion when closing the call.

05

Keys and consumption in the panel

Create keys with nicknames to identify your integrations. See balance, tokens, cost per key, recent consumption and payment history.

06

Recover the result

Identify each operation with Idempotency-Key and check your status. Repeating the same operation recovers the result without a new generation.

Values in real

Credits to use, Tokens to measure.

The API portfolio is independent of the signatures and tokens of the other Jusneural services. Consumption is debited from the balance as confirmed tokens.

Input tokens

R$ 31,38

for 1 million tokens


Includes service instructions, history, attachments and tool entries.

Output tokens

R$ 120,29

for 1 million tokens


Includes generated text and reasoning tokens, even when they are not displayed.

Minimum charging

R$ 300,00

in credits in the API wallet


Recharge by Pix or credit card on the dashboard and follow the available balance.

Estimate the cost of your integration

Please inform the total incoming and outgoing tokens. The estimate uses the rates above.

Estimate by callR$ 0,05543800
Total estimateR$ 55,44

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.

Your first integration

From key to first call

1

Create and store your key

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.

2

Add credits

Reload API wallet by Pix or card. Have balance available for authorized call budget; default is a reserve of R$ 10.00 per operation.

3

Integrate and Accompany

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.

Before you join

Frequently Asked Questions

Do I need a platform plan to use the API?

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.

What's the difference between charging, booking and charging?

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.

What files can I send?

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.

Is the answer delivered on streaming?

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.

A repeat of the call generates a new charge?

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.

Where should I put my API key?

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.

Take Jusneural to your next project.

See the full reference or access the panel to create a key and add credits.