Text model

Sonar API

Sonar is a text model from Sonar, live on Corent. Answers in the OpenAI-compatible chat format.

Two ways to run it

Name Sonar, or let Corent choose

You pick

POST /v1/chat/completions{  "model": "corent-sonar",  "messages": [{ "role": "user",    "content": "Write a haiku about shipping fast." }]}

Direct access runs Sonar and no other model. No substitution, you pay its price plus Corent’s fee, and the receipt names the model you pinned.

The router picks

POST /v1/chat/completions{  "model": "corent",  "messages": [{ "role": "user",    "content": "Write a haiku about shipping fast." }]}

Leave the model out and Corent reads the prompt, weighs every live text model on quality and price, and picks Sonar whenever it is the best fit. The receipt shows the exact charge.

First call

One key, one request

curl -X POST https://api.corent.tech/v1/chat/completions \  -H "Authorization: Bearer $CORENT_API_KEY" \  -H "Content-Type: application/json" \  -d '{"model": "corent-sonar", "messages": [{"role": "user", "content": "Write a haiku about shipping fast."}]}'

The response carries the result and a receipt: the model that served you and the exact cost in cents. Full request and response shapes are in the docs.

Details

Sonar, as the API serves it today

Pin by namecorent-sonar
Kind of resultText
EndpointPOST /v1/chat/completions
Made bySonar
Quality4.3 out of 10, Corent’s score
StatusLive
Typical price$0.03 to $0.10 a typical reply. See pricing

These fields come from the live catalog, the same list the full model catalog prints, so they match what the API serves.

FAQ

Common questions

Does Sonar have an API?

Yes. Sonar is served through the Corent API on POST /v1/chat/completions. Pin the exact name corent-sonar and you get that model or nothing: no substitution, and the receipt names the model you pinned. One Corent key covers it alongside every other model in the catalog.

How much does Sonar cost on Corent?

You pay the model’s price plus Corent’s fee, and the exact charge comes back on every response. Text is billed per token, and a typical reply on Corent costs $0.03 to $0.10, depending on the model and the length. Typical prices for every kind of result are on the pricing page.

Do I have to pick Sonar?

No. Leave the model out and Corent reads each prompt, picks the cheapest live model that does the job well (or the top one with "quality": "best"), and switches models if one fails. Pinning corent-sonar is for when you want exactly this model on every request.

More text models

Related models

Start

Run Sonar in your next request

One key opens the whole catalog: pin Sonar, or leave the model out and let Corent pick. Start with $5 in prepaid credits, no subscription.