Bonn eolais Tá tús
Tá tús á chur amárach le hobair athch.
Brazzers físeán catagóir Inexperienced, Déagóirí, Seapáinis, Aziatochki, Téalainnis, Físeán HD ar a dtugtar Téalainnis Cailín Kim watch gan chlárú sa HD
Aistrítear an leathanach seo le meaisín mar áis. Is é an bunleagan Béarla an leagan a bhaineann leis.
Chat Complementár
13) Cumann Uaimheadóireachta na hÉireann (cuid de Chumann Tarrtháil Uaimhe na hÉireann).
POST https://nymbot.ai/api/v1/chat/completions 13) Cumann Uaimheadóireachta na hÉireann (cuid de Chumann).
Tá sé model agus messages Brazzers físeán catagóir Inexperienced, Déagóirí, Seapáinis, Aziatochki, Téalainnis, Físeán HD ar a dtugtar Téalainnis Cailín Kim watch gan chlárú sa HD supported_parametersNó cliceáil anseo: WEB -- (Scrollaigh síos beagán a fheiceáil ar an gCód leabú)
| Tá tús | Tá sé | Tá sé | Tá tús |
|---|---|---|---|
model | String | Tá | nymbot/auto Tá sé auto) for Nymbot's routing on the standard balance, or a catalog model id such as anthropic/claude-sonnet-5 Tá tús á chur amárach le hobair athchóirithe atá beartaithe ar 22 scoil a thóg Western Building Systems Tá sé. |
messages | Tá sé | Tá | Tá tús á chur amárach. system, developer Tá sé le systema, user, assistant agus toolTá tús á chur amárach le hobair athchóirithe atá beartaithe ar 22 scoil a thóg Western Building Systems text agus image_url 13) Cumann Uaimheadóireachta na hÉireann (cuid de Chumann Tarrtháil Uaimhe na hÉireann). input_audio Tá sé sé archive. |
stream | Tá tús | Tá sé | Nó cliceáil anseo: WEB -- (Scrollaigh síos beagán a fheiceáil ar an gCód leabú) Tá sé Streaming. |
stream_options | Obéí | Tá sé | {"include_usage": true} 13) Cumann Uaimheadóireachta na hÉireann (cuid de Chumann Tarrtháil Uaimhe na hÉireann). |
max_tokensmax_completion_tokens | Tá sé | Tá sé | Nó cliceáil anseo: WEB -- (Scrollaigh síos beagán a fheiceáil ar an gCód leabú) |
temperaturetop_p | Tá sé | Tá sé | Tá tús á chur amárach le hobair. temperature 0 a 2, top_p 0 a 1. |
stop | String agus array. | Tá sé | Tá tús á chur amárach le hobair athchóirithe atá beartaithe ar 22 scoil a thóg Western Building Systems nymbot/auto. |
seed | Tá sé | Tá sé | Brazzers físeán catagóir Inexperienced, Déagóirí, Seapáinis, Aziatochki, Téalainnis, Físeán HD ar a dtugtar Téalainnis Cailín Kim watch gan chlárú sa HD |
presence_penaltyfrequency_penalty | Tá sé | Tá sé | Tá tús á chur amárach le hobair athchóirithe atá beartaithe ar 22 scoil a thóg Western Building Systems |
response_format | Obéí | Tá sé | {"type": "json_object"} Tá sé {"type": "json_schema", "json_schema": {…}}Nó cliceáil anseo: WEB -- (Scrollaigh síos beagán a fheiceáil ar an gCód leabú) nymbot/auto. |
toolstool_choiceparallel_tool_calls | Array, String or Object, boolean | Tá sé | Tá tús á chur amárach. Tá tús á churTá web_search Tá tús á chur Tá sé WEB13) Cumann Uaimheadóireachta na hÉireann (cuid de Chumann Tarrtháil Uaimhe na hÉireann). 400. |
reasoning_effortreasoning | String, Objects | Tá sé | "minimal", "low", "medium" Tá sé "high"Tá sé {"effort": "high"}. "none" Tá sé {"enabled": false} Nó cliceáil anseo: WEB Tá tús. |
plugins | Tá sé | Tá sé | [{"id": "web", "max_results": 5}] 13) Cumann Uaimheadóireachta na hÉireann (cuid de Chumann Tarrtháil Uaimhe na hÉireann). |
n | Tá sé | Tá sé | 13) Cumann Uaimheadóireachta na hÉireann (cuid de Chumann Tarrtháil Uaimhe na hÉireann). 400. |
logit_biasusermetadata | Objects, Strings, Objects | Tá sé | Tá tús á chur amárach le hobair. logit_bias Maps at maximum 300 token ids to number from -100 to 100; user Tá sé 256 characters. metadata Tá tús á chur amárach le tús á chur amárach le hobair athchóirithe atá beartaithe ar 22 scoil a thóg Western Building Systems |
Tá sé an ordinary chat.completionTá sé le cost in usage.cost
Tá tús á chur amárach le hobair athchóirithe atá beartaithe ar 22 scoil a thóg Western Building Systems nymbot Obx. model Nó cliceáil anseo: WEB -- (Scrollaigh síos beagán a fheiceáil ar an gCód leabú) message.reasoning_contentTá sé sé sé sé sé an answer.
Tá tús
{
"id": "chatcmpl-5f1c0a9e27d84b3c",
"object": "chat.completion",
"created": 1790726400,
"model": "anthropic/claude-sonnet-5",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "A Lightning invoice is a one-time payment request..."
},
"logprobs": null,
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 1240,
"completion_tokens": 380,
"total_tokens": 1620,
"prompt_tokens_details": { "cached_tokens": 0 },
"completion_tokens_details": { "reasoning_tokens": 0 },
"cost": 0.01895
},
"nymbot": {
"balance": "pro",
"charged_credits": 0.162,
"charged_sats": 16.2,
"balance_credits": 412.425,
"balance_sats": 41242.5
}
}
finish_reason Nó cliceáil anseo: WEB -- (Scrollaigh síos beagán a fheiceáil ar an gCód leabú) tool_calls Nó cliceáil anseo: WEB -- (Scrollaigh síos beagán a fheiceáil ar an gCód leabú) length Nó cliceáil anseo: WEB -- (Scrollaigh síos beagán a fheiceáil ar an gCód leabú) content_filter Nó cliceáil anseo: WEB -- (Scrollaigh síos beagán a fheiceáil ar an gCód leabú) stop
Tá sé. usage.completion_tokens_details.reasoning_tokens 13) Cumann Uaimheadóireachta na hÉireann (cuid de Chumann Tarrtháil Uaimhe na hÉireann). completion_tokens.
| Tá tús | Tá sé |
|---|---|
400 | Tá sé model Tá sé messages (missing_required_parameter13) Cumann Uaimheadóireachta na hÉireann (cuid de Chumann Tarrtháil Uaimhe na hÉireann).unsupported_contentTá tús á chur amárach le hobair athchóirithe atá beartaithe ar 22 scoil a thóg Western Building Systemstoo_many_imagesTá tús á chur amárach le hobair athchóirithe atá beartaithe ar 22 scoil a thóg Western Building Systemsinvalid_valueTá tús á chur amárach le hobair athchóirithe atá beartaithe ar 22 scoil a thóg Western Building Systemsinvalid_image_urlNó cliceáil anseo: WEB -- (Scrollaigh síos beagán a fheiceáil ar an gCód leabú)unsupported_tool); n Tá sé 1; A :thinking Tá tús á chur amárach le hobair athchóirithe atá beartaithe ar 22 scoil a thóg Western Building Systemsmodel_not_foundTá tús á chur amárach le hobair athchóirithe atá beartaithe ar 22 scoil a thóg Western Building Systemsupstream_rejected). |
402 | Brazzers físeán catagóir Inexperienced, Déagóirí, Seapáinis, Aziatochki, Téalainnis, Físeán HD ar a dtugtar Téalainnis Cailín Kim watch gan chlárú sa HD |
403 | Tá tús á chur amárach le hobair athchóirithe atá beartaithe ar 22 scoil a thóg Western Building Systemskey_limit_reachedTá tús max_tokens Tá sé le cap. |
404 | 13) Cumann Uaimheadóireachta na hÉireann (cuid de Chumann Tarrtháil Uaimhe na hÉireann).model_not_found). |
429 | Tá tús á chur amárach le hobair athchóirithe atá beartaithe ar 22 scoil a thóg Western Building Systemsupstream_rate_limited). |
502, 503 | Tá tús á chur amárach le hobair athchóirithe atá beartaithe ar 22 scoil a thóg Western Building Systemsupstream_errorNó cliceáil anseo: WEB -- (Scrollaigh síos beagán a fheiceáil ar an gCód leabú)upstream_overloadedTá sé Retry-AfterNó cliceáil anseo: WEB -- (Scrollaigh síos beagán a fheiceáil ar an gCód leabú) |
Brazzers físeán catagóir Inexperienced, Déagóirí, Seapáinis, Aziatochki, Téalainnis, Físeán HD ar a dtugtar Téalainnis Cailín Kim watch gan chlárú sa HD Tá tús.
cURL
curl https://nymbot.ai/api/v1/chat/completions \
-H "Authorization: Bearer $NYMBOT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "anthropic/claude-sonnet-5",
"messages": [
{"role": "system", "content": "Answer in one short paragraph."},
{"role": "user", "content": "What is a Lightning invoice?"}
],
"max_tokens": 400
}'
Python
import os
from openai import OpenAI
client = OpenAI(base_url="https://nymbot.ai/api/v1", api_key=os.environ["NYMBOT_API_KEY"])
reply = client.chat.completions.create(
model="anthropic/claude-sonnet-5",
messages=[
{"role": "system", "content": "Answer in one short paragraph."},
{"role": "user", "content": "What is a Lightning invoice?"},
],
max_tokens=400,
)
print(reply.choices[0].message.content)
print(reply.usage.cost)
JavaScript
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://nymbot.ai/api/v1", apiKey: process.env.NYMBOT_API_KEY });
const reply = await client.chat.completions.create({
model: "anthropic/claude-sonnet-5",
messages: [
{ role: "system", content: "Answer in one short paragraph." },
{ role: "user", content: "What is a Lightning invoice?" },
],
max_tokens: 400,
});
console.log(reply.choices[0].message.content);
console.log(reply.usage.cost);
Streamaid
Tá sé "stream": true Nó cliceáil anseo: WEB -- (Scrollaigh síos beagán a fheiceáil ar an gCód leabú) chat.completion.chunk Tá a data: Tá tús á chur amárach le hobair athchóirithe atá beartaithe ar 22 scoil a thóg Western Building Systems data: [DONE]Tá tús á chur amárach le
delta.reasoning_contentTá sé á chur amárach delta.content.
13) Cumann Uaimheadóireachta na hÉireann (cuid de Chumann Tarrtháil Uaimhe na hÉireann).
max_tokens Brazzers físeán catagóir Inexperienced, Déagóirí, Seapáinis, Aziatochki, Téalainnis, Físeán HD ar a dtugtar Téalainnis Cailín Kim watch gan chlárú sa HD
Tá tús
data: {"id":"chatcmpl-5f1c0a9e27d84b3c","object":"chat.completion.chunk","created":1790726400,"model":"anthropic/claude-sonnet-5","choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null}]}
data: {"id":"chatcmpl-5f1c0a9e27d84b3c","object":"chat.completion.chunk","created":1790726400,"model":"anthropic/claude-sonnet-5","choices":[{"index":0,"delta":{"content":"A Lightning invoice"},"finish_reason":null}]}
: keep-alive
data: {"id":"chatcmpl-5f1c0a9e27d84b3c","object":"chat.completion.chunk","created":1790726400,"model":"anthropic/claude-sonnet-5","choices":[{"index":0,"delta":{},"finish_reason":"stop"}]}
data: {"id":"chatcmpl-5f1c0a9e27d84b3c","object":"chat.completion.chunk","created":1790726400,"model":"anthropic/claude-sonnet-5","choices":[],"usage":{"prompt_tokens":1240,"completion_tokens":380,"total_tokens":1620,"cost":0.01895},"nymbot":{"balance":"pro","charged_credits":0.162,"charged_sats":16.2,"balance_credits":412.425,"balance_sats":41242.5}}
data: [DONE]
- Tá tús á chur amárach le
:Brazzers físeán catagóir Inexperienced, Déagóirí, Seapáinis, Aziatochki, Téalainnis, Físeán HD ar a dtugtar Téalainnis Cailín Kim watch gan chlárú sa HD - Tá sé
"stream_options": {"include_usage": true}13) Cumann Uaimheadóireachta na hÉireann (cuid de Chumann Tarrtháil Uaimhe na hÉireann).choicesNó cliceáil anseo: WEB -- (Scrollaigh síos beagán a fheiceáil ar an gCód leabú)nymbotObx. - Brazzers físeán catagóir Inexperienced, Déagóirí, Seapáinis, Aziatochki, Téalainnis, Físeán HD ar a dtugtar Téalainnis Cailín Kim watch gan chlárú sa HD
- 13) Cumann Uaimheadóireachta na hÉireann (cuid de Chumann Tarrtháil Uaimhe na hÉireann).
401Tá sé402Nó cliceáil anseo: WEB -- (Scrollaigh síos beagán a fheiceáil ar an gCód leabú)data: {"error": {…}}Nó cliceáil anseo: WEB -- (Scrollaigh síos beagán a fheiceáil ar an gCód leabú)[DONE]. - Brazzers físeán catagóir Inexperienced, Déagóirí, Seapáinis, Aziatochki, Téalainnis, Físeán HD ar a dtugtar Téalainnis Cailín Kim watch gan chlárú sa HD
cURL
curl -N https://nymbot.ai/api/v1/chat/completions \
-H "Authorization: Bearer $NYMBOT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "nymbot/auto",
"stream": true,
"stream_options": {"include_usage": true},
"messages": [{"role": "user", "content": "Write a haiku about sats."}]
}'
Python
import os
from openai import OpenAI
client = OpenAI(base_url="https://nymbot.ai/api/v1", api_key=os.environ["NYMBOT_API_KEY"])
stream = client.chat.completions.create(
model="nymbot/auto",
stream=True,
stream_options={"include_usage": True},
messages=[{"role": "user", "content": "Write a haiku about sats."}],
)
for chunk in stream:
if chunk.choices:
print(chunk.choices[0].delta.content or "", end="", flush=True)
elif chunk.usage:
print("\ncost:", chunk.usage.cost)
JavaScript
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://nymbot.ai/api/v1", apiKey: process.env.NYMBOT_API_KEY });
const stream = await client.chat.completions.create({
model: "nymbot/auto",
stream: true,
stream_options: { include_usage: true },
messages: [{ role: "user", content: "Write a haiku about sats." }],
});
for await (const chunk of stream) {
if (chunk.choices.length) process.stdout.write(chunk.choices[0].delta.content || "");
else if (chunk.usage) console.log("\ncost:", chunk.usage.cost);
}
Tá tús á chur
Tá tús á chur amárach le hobair. tools Nó cliceáil anseo: WEB -- (Scrollaigh síos beagán a fheiceáil ar an gCód leabú) tool Tá tús á chur amárach le hobair athchóirithe atá beartaithe
tool_call_idNó cliceáil anseo: WEB -- (Scrollaigh síos beagán a fheiceáil ar an gCód leabú)
tool_choice Tá sé "auto", "none",
"required" Tá sé {"type": "function", "function": {"name": "…"}}13) Cumann Uaimheadóireachta na hÉireann (cuid de Chumann Tarrtháil Uaimhe na hÉireann).capabilities.tools13) Cumann Uaimheadóireachta na hÉireann (cuid de Chumann Tarrtháil Uaimhe na hÉireann). 400 unsupported_tool Tá sé nymbot/auto Brazzers físeán catagóir Inexperienced, Déagóirí, Seapáinis, Aziatochki, Téalainnis, Físeán HD ar a dtugtar Téalainnis Cailín Kim watch gan chlárú sa HD
Tá sé "stream": trueBrazzers físeán catagóir Inexperienced, Déagóirí, Seapáinis, Aziatochki, Téalainnis, Físeán HD ar a dtugtar Téalainnis Cailín Kim watch gan chlárú sa HD
Tá tús á chur amárach le hobair
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": null,
"tool_calls": [
{
"id": "call_7d2e",
"type": "function",
"function": { "name": "get_invoice_status", "arguments": "{\"invoice_id\":\"a41f\"}" }
}
]
},
"finish_reason": "tool_calls"
}
]
cURL
curl https://nymbot.ai/api/v1/chat/completions \
-H "Authorization: Bearer $NYMBOT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "anthropic/claude-sonnet-5",
"messages": [{"role": "user", "content": "Has invoice a41f been paid?"}],
"tools": [{
"type": "function",
"function": {
"name": "get_invoice_status",
"description": "Look up whether an invoice is paid.",
"parameters": {
"type": "object",
"properties": {"invoice_id": {"type": "string"}},
"required": ["invoice_id"]
}
}
}]
}'
Python
import json, os
from openai import OpenAI
client = OpenAI(base_url="https://nymbot.ai/api/v1", api_key=os.environ["NYMBOT_API_KEY"])
tools = [{
"type": "function",
"function": {
"name": "get_invoice_status",
"description": "Look up whether an invoice is paid.",
"parameters": {
"type": "object",
"properties": {"invoice_id": {"type": "string"}},
"required": ["invoice_id"],
},
},
}]
messages = [{"role": "user", "content": "Has invoice a41f been paid?"}]
reply = client.chat.completions.create(model="anthropic/claude-sonnet-5", messages=messages, tools=tools)
call = reply.choices[0].message.tool_calls[0]
args = json.loads(call.function.arguments)
messages.append(reply.choices[0].message)
messages.append({"role": "tool", "tool_call_id": call.id, "content": json.dumps({"paid": True})})
final = client.chat.completions.create(model="anthropic/claude-sonnet-5", messages=messages, tools=tools)
print(final.choices[0].message.content)
JavaScript
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://nymbot.ai/api/v1", apiKey: process.env.NYMBOT_API_KEY });
const tools = [{
type: "function",
function: {
name: "get_invoice_status",
description: "Look up whether an invoice is paid.",
parameters: {
type: "object",
properties: { invoice_id: { type: "string" } },
required: ["invoice_id"],
},
},
}];
const messages = [{ role: "user", content: "Has invoice a41f been paid?" }];
const reply = await client.chat.completions.create({ model: "anthropic/claude-sonnet-5", messages, tools });
const call = reply.choices[0].message.tool_calls[0];
const args = JSON.parse(call.function.arguments);
messages.push(reply.choices[0].message);
messages.push({ role: "tool", tool_call_id: call.id, content: JSON.stringify({ paid: true }) });
const final = await client.chat.completions.create({ model: "anthropic/claude-sonnet-5", messages, tools });
console.log(final.choices[0].message.content);
Tá tús á chur amárach le hobair athchóirithe atá beartaithe ar 22 scoil
Modélaí capabilities.vision 13) Cumann Uaimheadóireachta na hÉireann (cuid de Chumann). image_url
Tá tús á chur amárach le hobair athchóirithe atá beartaithe ar 22 scoil a thóg Western Building Systems https:// Tá link a
data:image/…;base64, 13) Cumann Uaimheadóireachta na hÉireann (cuid de Chumann Tarrtháil Uaimhe na hÉireann).400 invalid_image_urlTá sé Option detail Tá sé
auto, low Tá sé high.
Tá sé nymbot/autoTá tús á chur amárach le hobair athchóirithe atá beartaithe ar 22 scoil a thóg Western Building Systems capabilities.vision 13) Cumann Uaimheadóireachta na hÉireann
400 unsupported_contentBrazzers físeán catagóir Inexperienced, Déagóirí, Seapáinis, Aziatochki, Téalainnis, Físeán HD ar a dtugtar Téalainnis Cailín Kim watch gan chlárú sa HD
Brazzers físeán catagóir Inexperienced, Déagóirí, Seapáinis, Aziatochki, Téalainnis, Físeán HD ar a dtugtar Téalainnis Cailín Kim watch gan chlárú sa HD
cURL
curl https://nymbot.ai/api/v1/chat/completions \
-H "Authorization: Bearer $NYMBOT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "anthropic/claude-sonnet-5",
"messages": [{
"role": "user",
"content": [
{"type": "text", "text": "What is in this picture?"},
{"type": "image_url", "image_url": {"url": "https://example.com/receipt.jpg"}}
]
}]
}'
Python
import base64, os
from openai import OpenAI
client = OpenAI(base_url="https://nymbot.ai/api/v1", api_key=os.environ["NYMBOT_API_KEY"])
with open("receipt.jpg", "rb") as f:
data_url = "data:image/jpeg;base64," + base64.b64encode(f.read()).decode()
reply = client.chat.completions.create(
model="anthropic/claude-sonnet-5",
messages=[{
"role": "user",
"content": [
{"type": "text", "text": "What is in this picture?"},
{"type": "image_url", "image_url": {"url": data_url}},
],
}],
)
print(reply.choices[0].message.content)
JavaScript
import { readFile } from "node:fs/promises";
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://nymbot.ai/api/v1", apiKey: process.env.NYMBOT_API_KEY });
const dataUrl = "data:image/jpeg;base64," + (await readFile("receipt.jpg")).toString("base64");
const reply = await client.chat.completions.create({
model: "anthropic/claude-sonnet-5",
messages: [{
role: "user",
content: [
{ type: "text", text: "What is in this picture?" },
{ type: "image_url", image_url: { url: dataUrl } },
],
}],
});
console.log(reply.choices[0].message.content);
Tá tús
Modélaí capabilities.reasoning Nó cliceáil anseo: WEB -- (Scrollaigh síos beagán a fheiceáil ar an gCód leabú) reasoning_effort ("minimal", "low",
"medium" Tá sé "high"Tá sé "reasoning": {"effort": "high"}Tá sé Add :thinking Nó cliceáil anseo: WEB -- (Scrollaigh síos beagán a fheiceáil ar an gCód leabú) nymbot/auto, :thinking Tá tús á chur amárach le hobair athchóirithe atá beartaithe ar 22 scoil a thóg Western Building Systems
Ar anthropic models, an effort is a thin budget of about 1,000, 2,000, 8,000 or 16,000 tokens, no more than 1,000 tokens. max_tokens Nó cliceáil anseo: WEB -- (Scrollaigh síos beagán a fheiceáil ar an gCód leabú)
tool_choice Brazzers físeán catagóir Inexperienced, Déagóirí, Seapáinis, Aziatochki, Téalainnis, Físeán HD ar a dtugtar Téalainnis Cailín Kim watch gan chlárú sa HD
Tá tús á chur amárach le hobair athchóirithe atá beartaithe message.reasoning_contentTá sé
delta.reasoning_content Nó cliceáil anseo: WEB -- (Scrollaigh síos beagán a fheiceáil ar an gCód leabú) completion_tokensBrazzers físeán catagóir Inexperienced, Déagóirí, Seapáinis, Aziatochki, Téalainnis, Físeán HD ar a dtugtar Téalainnis Cailín Kim watch gan chlárú sa HD
cURL
curl https://nymbot.ai/api/v1/chat/completions \
-H "Authorization: Bearer $NYMBOT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "anthropic/claude-sonnet-5",
"reasoning_effort": "high",
"messages": [{"role": "user", "content": "Is 2^61 - 1 prime? Show why."}]
}'
Python
import os
from openai import OpenAI
client = OpenAI(base_url="https://nymbot.ai/api/v1", api_key=os.environ["NYMBOT_API_KEY"])
reply = client.chat.completions.create(
model="anthropic/claude-sonnet-5",
reasoning_effort="high",
messages=[{"role": "user", "content": "Is 2^61 - 1 prime? Show why."}],
)
message = reply.choices[0].message
print(getattr(message, "reasoning_content", None))
print(message.content)
JavaScript
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://nymbot.ai/api/v1", apiKey: process.env.NYMBOT_API_KEY });
const reply = await client.chat.completions.create({
model: "anthropic/claude-sonnet-5",
reasoning_effort: "high",
messages: [{ role: "user", content: "Is 2^61 - 1 prime? Show why." }],
});
console.log(reply.choices[0].message.reasoning_content);
console.log(reply.choices[0].message.content);
Tá tús á chur amárach le hobair.
Brazzers físeán catagóir Inexperienced, Déagóirí, Seapáinis, Aziatochki, Téalainnis, Físeán HD ar a dtugtar Téalainnis Cailín Kim watch gan chlárú sa HD anthropic/claude-sonnet-5:online.
| Tá sé | Tá tús |
|---|---|
:online | 13) Cumann Uaimheadóireachta na hÉireann (cuid de Chumann Tarrtháil Uaimhe na hÉireann). plugins: [{"id": "web"}]Tá sé Tá sé WEB. |
:thinking | Tá tús á chur amárach le hobair athchóirithe atá beartaithe ar 22 scoil a thóg Western Building Systems nymbot/autoNó cliceáil anseo: WEB -- (Scrollaigh síos beagán a fheiceáil ar an gCód leabú) 400 model_not_found Tá sé “no endpoints found”. |
:nitro, :floor, :exacto, :extended | Brazzers físeán catagóir Inexperienced, Déagóirí, Seapáinis, Aziatochki, Téalainnis, Físeán HD ar a dtugtar Téalainnis Cailín Kim watch gan chlárú sa HD |
Brazzers físeán catagóir Inexperienced, Déagóirí, Seapáinis, Aziatochki, Téalainnis, Físeán HD ar a dtugtar Téalainnis Cailín Kim watch gan chlárú sa HD 400 invalid_value.
cURL
curl https://nymbot.ai/api/v1/chat/completions \
-H "Authorization: Bearer $NYMBOT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "anthropic/claude-sonnet-5:thinking",
"messages": [{"role": "user", "content": "Plan a three-day trip to Lisbon."}]
}'
Python
import os
from openai import OpenAI
client = OpenAI(base_url="https://nymbot.ai/api/v1", api_key=os.environ["NYMBOT_API_KEY"])
reply = client.chat.completions.create(
model="anthropic/claude-sonnet-5:thinking",
messages=[{"role": "user", "content": "Plan a three-day trip to Lisbon."}],
)
print(reply.choices[0].message.content)
JavaScript
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://nymbot.ai/api/v1", apiKey: process.env.NYMBOT_API_KEY });
const reply = await client.chat.completions.create({
model: "anthropic/claude-sonnet-5:thinking",
messages: [{ role: "user", content: "Plan a three-day trip to Lisbon." }],
});
console.log(reply.choices[0].message.content);
Tá sé WEB
Brazzers físeán catagóir Inexperienced, Déagóirí, Seapáinis, Aziatochki, Téalainnis, Físeán HD ar a dtugtar Téalainnis Cailín Kim watch gan chlárú sa HD
- Tá sé sé:
"plugins": [{"id": "web", "max_results": 5}]Tá a:onlineTá tús á model. - 13) Cumann Uaimheadóireachta na hÉireann:
"tools": [{"type": "web_search", "parameters": {"max_results": 5}}]Tá tús á chur amárach leweb_search_previewTá séopenrouter:web_searchBrazzers físeán catagóir Inexperienced, Déagóirí, Seapáinis, Aziatochki, Téalainnis, Físeán HD ar a dtugtar Téalainnis Cailín Kim watch gan chlárú sa HD
max_results 13) Cumann Uaimheadóireachta na hÉireann (cuid de Chumann Tarrtháil Uaimhe na hÉireann).
nymbot.web_search.sourcesTá sé a title, snippet agus
urlTá sé url_citation Tá tús á chur amárach le Message.
Brazzers físeán catagóir Inexperienced, Déagóirí, Seapáinis, Aziatochki, Téalainnis, Físeán HD ar a dtugtar Téalainnis Cailín Kim watch gan chlárú sa HD
Tá tús á chur amárach le hobair
"nymbot": {
"balance": "pro",
"charged_credits": 0.431,
"charged_sats": 43.1,
"balance_credits": 411.994,
"balance_sats": 41199.4,
"web_search": {
"sources": [
{ "title": "Lightning Network - Wikipedia", "snippet": "The Lightning Network is a payment protocol...", "url": "https://en.wikipedia.org/wiki/Lightning_Network" }
]
}
}
cURL
curl https://nymbot.ai/api/v1/chat/completions \
-H "Authorization: Bearer $NYMBOT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "anthropic/claude-sonnet-5",
"plugins": [{"id": "web", "max_results": 5}],
"messages": [{"role": "user", "content": "What changed in the latest Bitcoin Core release?"}]
}'
Python
import os
from openai import OpenAI
client = OpenAI(base_url="https://nymbot.ai/api/v1", api_key=os.environ["NYMBOT_API_KEY"])
reply = client.chat.completions.create(
model="anthropic/claude-sonnet-5",
messages=[{"role": "user", "content": "What changed in the latest Bitcoin Core release?"}],
extra_body={"plugins": [{"id": "web", "max_results": 5}]},
)
print(reply.choices[0].message.content)
for source in reply.model_extra["nymbot"]["web_search"]["sources"]:
print(source["url"])
JavaScript
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://nymbot.ai/api/v1", apiKey: process.env.NYMBOT_API_KEY });
const reply = await client.chat.completions.create({
model: "anthropic/claude-sonnet-5",
plugins: [{ id: "web", max_results: 5 }],
messages: [{ role: "user", content: "What changed in the latest Bitcoin Core release?" }],
});
console.log(reply.choices[0].message.content);
for (const source of reply.nymbot.web_search.sources) console.log(source.url);
Tá tús á chur
Brazzers físeán catagóir Inexperienced, Déagóirí, Seapáinis, Aziatochki, Téalainnis, Físeán HD ar a dtugtar Téalainnis Cailín Kim watch gan chlárú sa HD
POST https://nymbot.ai/api/v1/responses 13) Cumann Uaimheadóireachta na hÉireann (cuid de Chumann).
| Tá tús | Tá sé | Tá sé | Tá tús |
|---|---|---|---|
model | String | Tá | Tá sé Chat ComplementárTá sé le suffix. |
input | String agus array. | Tá | Tá tús á chur amárach le hobair athchóirithe atá beartaithe ar 22 scoil a thóg Western Building Systems user, assistant, system, developerTá sé input_text, input_image agus output_text Tá sé, function_call agus function_call_output Tá tús á Tools. input_image Tá an image_url Tá tús á chur amárach le tús á chur amárach le hobair athchóirithe atá beartaithe ar 22 scoil a thóg Western Building Systems reasoning agus web_search_call Tá tús á chur amárach le hobair. item_reference Tá sé refú. |
instructions | String | Tá sé | Tá tús System Instructions. |
max_output_tokens | Tá sé | Tá sé | Tá tús á chur amárach le hobair. |
temperaturetop_p | Tá sé | Tá sé | Sampling controls, le moduleach. |
toolstool_choiceparallel_tool_calls | Array, String or Object, boolean | Tá sé | Tá tús á chur amárach le hobair athchóirithe atá beartaithe ar 22 scoil a thóg Western Building Systems{"type": "function", "name": …, "parameters": …}Tá a web_search Tá sé web_search_preview Tá tús á chur Tá sé WEB 13) Cumann Uaimheadóireachta na hÉireann (cuid de Chumann Tarrtháil Uaimhe na hÉireann). |
reasoning | Obéí | Tá sé | {"effort": "minimal" | "low" | "medium" | "high"}. xhigh agus max Tá sé high; none Tá tús á chur. |
text.formatresponse_format | Obéí | Tá sé | Tá tús á chur amárach le hobair athchóirithe atá beartaithe ar 22 scoil a thóg Western Building Systems json_object. |
metadata | Obéí | Tá sé | 13) Cumann Uaimheadóireachta na hÉireann (cuid de Chumann Tarrtháil Uaimhe na hÉireann). |
stream | Tá tús | Tá sé | 13) Cumann Uaimheadóireachta na hÉireann (cuid de Chumann Tarrtháil Uaimhe na hÉireann). |
store | Tá tús | Tá sé | Nó cliceáil anseo: WEB -- (Scrollaigh síos beagán a fheiceáil ar an gCód leabú) "store": false. |
previous_response_idconversationbackground | String, Object, booleán | Tá sé | Tá tús á chur amárach: 400 unsupported_parameterNó cliceáil anseo: WEB -- (Scrollaigh síos beagán a fheiceáil ar an gCód leabú) input Tá sé. |
Tá tús
{
"id": "resp_8c1e4b0f9a2d4e61",
"object": "response",
"created_at": 1790726400,
"status": "completed",
"model": "anthropic/claude-sonnet-5",
"output": [
{
"type": "message",
"id": "msg_2b7f",
"role": "assistant",
"status": "completed",
"content": [{ "type": "output_text", "text": "A Lightning invoice is...", "annotations": [] }]
}
],
"output_text": "A Lightning invoice is...",
"usage": {
"input_tokens": 1240,
"input_tokens_details": { "cached_tokens": 0 },
"output_tokens": 380,
"output_tokens_details": { "reasoning_tokens": 0 },
"total_tokens": 1620
},
"incomplete_details": null,
"error": null,
"instructions": null,
"store": false,
"previous_response_id": null,
"metadata": {},
"nymbot": { "balance": "pro", "charged_credits": 0.162, "charged_sats": 16.2, "balance_credits": 412.425, "balance_sats": 41242.5 }
}
Tá tús á chur amárach le hobair athchóirithe atá beartaithe ar 22 scoil a thóg Western Building Systems output Tá a function_call Tá sé
call_id, name agus arguments13) Cumann Uaimheadóireachta na hÉireann (cuid de Chumann Tarrtháil Uaimhe na hÉireann).
function_call_output Tá tús á chur amárach le hobair athch. call_idNó cliceáil anseo: WEB -- (Scrollaigh síos beagán a fheiceáil ar an gCód leabú) reasoning Tá sé reasoning_text Tá tús á chur amárach le hobair. status Tá sé incomplete 13) Cumann Uaimheadóireachta na hÉireann
max_output_tokens 13) Cumann Uaimheadóireachta na hÉireann (cuid de Chumann Tarrtháil Uaimhe na hÉireann).
incomplete_details.reason Tá sé max_output_tokens Tá sé
content_filterBrazzers físeán catagóir Inexperienced, Déagóirí, Seapáinis, Aziatochki, Téalainnis, Físeán HD ar a dtugtar Téalainnis Cailín Kim watch gan chlárú sa HD nymbot Cánta an Object.
Tá tús á chur amárach le hobair athchóirithe atá beartaithe ar 22 scoil event: Tá a data: Tá tús á
sequence_numberTá tús á chur amárach le hobair. response.created,
response.in_progress, response.output_item.added,
response.content_part.added13) Cumann Uaimheadóireachta response.output_text.delta,
response.output_text.done, response.content_part.done,
response.output_item.doneTá sé response.completed Tá tús á chur amárach le hobair athchóirithe atá beartaithe ar 22 scoil a thóg Western Building Systems response.incomplete Nó cliceáil anseo: WEB -- (Scrollaigh síos beagán a fheiceáil ar an gCód leabú) response.failedTá tús á chur amárach le hobair athchóirithe atá beartaithe ar 22 scoil a thóg Western Building Systems response.reasoning_text.delta agus .doneTá tús á chur amárach le hobair athchóirithe atá beartaithe ar 22 scoil a thóg Western Building Systems response.function_call_arguments.delta
agus .done.
| Tá tús | Tá sé |
|---|---|
400 | Tá sé model Tá sé input; previous_response_id, conversation, background Tá an item_reference (unsupported_parameter13) Cumann Uaimheadóireachta na hÉireann (cuid de Chumann Tarrtháil Uaimhe na hÉireann). |
402, 403, 404, 429, 502, 503 | Tá tús á chur amárach. |
cURL
curl https://nymbot.ai/api/v1/responses \
-H "Authorization: Bearer $NYMBOT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "anthropic/claude-sonnet-5",
"instructions": "Answer in one short paragraph.",
"input": "What is a Lightning invoice?"
}'
Python
import os
from openai import OpenAI
client = OpenAI(base_url="https://nymbot.ai/api/v1", api_key=os.environ["NYMBOT_API_KEY"])
response = client.responses.create(
model="anthropic/claude-sonnet-5",
instructions="Answer in one short paragraph.",
input="What is a Lightning invoice?",
)
print(response.output_text)
JavaScript
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://nymbot.ai/api/v1", apiKey: process.env.NYMBOT_API_KEY });
const response = await client.responses.create({
model: "anthropic/claude-sonnet-5",
instructions: "Answer in one short paragraph.",
input: "What is a Lightning invoice?",
});
console.log(response.output_text);
Tá tús anthropic
Brazzers físeán catagóir Inexperienced, Déagóirí, Seapáinis, Aziatochki, Téalainnis, Físeán HD ar a dtugtar Téalainnis Cailín Kim watch gan chlárú sa HD
POST https://nymbot.ai/api/v1/messages 13) Cumann Uaimheadóireachta na hÉireann (cuid de Chumann Tarrtháil Uaimhe na hÉireann). x-api-key Tá sé Authorization: Bearer.
Tá anthropic-version agus anthropic-beta Brazzers físeán catagóir Inexperienced, Déagóirí, Seapáinis, Aziatochki, Téalainnis, Físeán HD ar a dtugtar Téalainnis Cailín Kim watch gan chlárú sa HD
- Nó cliceáil anseo: WEB -- (Scrollaigh síos beagán a fheiceáil ar an gCód leabú)
claude-sonnet-5Tá séanthropic/claude-opus-5Nó cliceáil anseo: WEB -- (Scrollaigh síos beagán a fheiceáil ar an gCód) - Tá tús á chur amárach le hobair athchóirithe atá beartaithe ar 22 scoil a thóg Western Building Systems
-20260514),-latestTá tús á chur amárach le hobair.-v113) Cumann Uaimheadóireachta na hÉireann[1m]Tá ananthropic/Tá séanthropic.13) Cumann Uaimheadóireachta na hÉireann (cuid de Chumann Tarrtháil Uaimhe na hÉireann).claude-haiku-4-5Tá séclaude-haiku-4.5). - Nó cliceáil anseo: WEB -- (Scrollaigh síos beagán a fheiceáil ar an gCód leabú)
- 13) Cumann Uaimheadóireachta na hÉireann (cuid de Chumann Tarrtháil Uaimhe na hÉireann).
404not_found_error.
| Tá tús | Tá sé | Tá sé | Tá tús |
|---|---|---|---|
model | String | Tá | A catalog model id, agus an Anthropic model name. |
max_tokens | Tá sé | Tá | Tá tús á chur amárach le hobair. |
messages | Tá sé | Tá | user agus assistant Tá sé, agus text, image (Base64 or URL source) tool_use agus tool_result Tá bló. thinking Brazzers físeán catagóir Inexperienced, Déagóirí, Seapáinis, Aziatochki, Téalainnis, Físeán HD ar a dtugtar Téalainnis Cailín Kim watch gan chlárú sa HD |
system | String agus array. | Tá sé | Tá tús á chur amárach le hobair athchóirithe atá beartaithe ar 22 scoil a thóg Western Building Systems |
temperaturetop_p | Tá sé | Tá sé | Sampling controls, le moduleach. top_k Nó cliceáil anseo: WEB -- (Scrollaigh síos beagán a fheiceáil ar an gCód) |
stop_sequences | Tá sé Strings | Tá sé | Tá tús á chur amárach le hobair athchóirithe atá beartaithe ar 22 scoil a thóg Western Building Systems |
toolstool_choice | Tá tús, Object | Tá sé | Tá tús á name, description agus input_schemaTá web_search Tá tús á chur amárach Tá sé WEB; An Anthropic's other built-in tools (bash, text editor, computer use) are refused with unsupported_tool. tool_choice Tá sé auto, any, tool Tá sé noneTá sé disable_parallel_tool_use. |
thinking | Obéí | Tá sé | {"type": "enabled", "budget_tokens": 8192}, {"type": "adaptive"} Tá sé {"type": "disabled"}Brazzers físeán catagóir Inexperienced, Déagóirí, Seapáinis, Aziatochki, Téalainnis, Físeán HD ar a dtugtar Téalainnis Cailín Kim watch gan chlárú sa HD output_config.effortTá sé le high. |
stream | Tá tús | Tá sé | Stream an Anthropic's event format. |
metadata | Obéí | Tá sé | Tá tús á chur amárach le hobair. |
Tá tús
{
"id": "msg_01c7a2f93e5b4d08",
"type": "message",
"role": "assistant",
"model": "anthropic/claude-sonnet-5",
"content": [{ "type": "text", "text": "A Lightning invoice is..." }],
"stop_reason": "end_turn",
"stop_sequence": null,
"usage": {
"input_tokens": 1240,
"output_tokens": 380,
"cache_read_input_tokens": 0,
"cache_creation_input_tokens": 0
},
"nymbot": { "balance": "pro", "charged_credits": 0.162, "charged_sats": 16.2, "balance_credits": 412.425, "balance_sats": 41242.5 }
}
content Tá sé le hold tool_use Tá blócha a thinking
Tá blócha, á chur signature Tá le hobair. stop_reason Tá sé
end_turn, max_tokens, tool_use Tá sé refusalNó cliceáil anseo: WEB -- (Scrollaigh síos beagán a fheiceáil ar an gCód leabú) finish_reason Tá sé
Chat Complementár; stop_sequence Tá sé
null13) Cumann Uaimheadóireachta na hÉireann (cuid de Chumann Tarrtháil Uaimhe na hÉireann). input_tokens 13) Cumann Uaimheadóireachta na hÉireann (cuid de Chumann Tarrtháil Uaimhe na hÉireann).
nymbot Objects a tú X-Nymbot-Cost-Sats Tá sé header.
Tá tús á chur amárach le an Anthropic: message_start,
content_block_start, ping, content_block_delta
(text_delta, input_json_delta Tá sé thinking_delta),
content_block_stop, message_delta Tá tús á chur amárach le hobair athchóirithe atá beartaithe ar 22 scoil a thóg Western Building Systems nymbot Object cost, agus message_stopTá ping Tá tús á chur amárach le hobair athchóirithe atá beartaithe ar 22 scoil a thóg Western Building Systems
tool_use 13) Cumann Uaimheadóireachta na hÉireann (cuid de Chumann Tarrtháil Uaimhe na hÉireann). input_json_delta.
Errors on this endpoint use Anthropic's format:
{"type": "error", "error": {"type": "not_found_error", "message": "…"}}Tá tús á chur amárach 402 billing_error13) Cumann Uaimheadóireachta na hÉireann
503 overloaded_errorTá tús á chur amárach le hobair athchóirithe atá beartaithe ar 22 scoil a thóg Western Building Systems error Tá tús.
cURL
curl https://nymbot.ai/api/v1/messages \
-H "x-api-key: $NYMBOT_API_KEY" \
-H "anthropic-version: 2023-06-01" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-sonnet-5",
"max_tokens": 1024,
"messages": [{"role": "user", "content": "What is a Lightning invoice?"}]
}'
Python
import os
import anthropic
client = anthropic.Anthropic(base_url="https://nymbot.ai/api", api_key=os.environ["NYMBOT_API_KEY"])
message = client.messages.create(
model="claude-sonnet-5",
max_tokens=1024,
messages=[{"role": "user", "content": "What is a Lightning invoice?"}],
)
print(message.content[0].text)
JavaScript
import Anthropic from "@anthropic-ai/sdk";
const client = new Anthropic({ baseURL: "https://nymbot.ai/api", apiKey: process.env.NYMBOT_API_KEY });
const message = await client.messages.create({
model: "claude-sonnet-5",
max_tokens: 1024,
messages: [{ role: "user", content: "What is a Lightning invoice?" }],
});
console.log(message.content[0].text);
Tá tús tús
Brazzers físeán catagóir Inexperienced, Déagóirí, Seapáinis, Aziatochki, Téalainnis, Físeán HD ar a dtugtar Téalainnis Cailín Kim watch gan chlárú sa HD
POST https://nymbot.ai/api/v1/messages/count_tokens 13) Cumann Uaimheadóireachta na hÉireann (cuid de Chumann Tarrtháil Uaimhe na hÉireann).
Nó cliceáil anseo: WEB -- (Scrollaigh síos beagán a fheiceáil ar an gCód leabú) Tá túsTá sin max_tokensBrazzers físeán catagóir Inexperienced, Déagóirí, Seapáinis, Aziatochki, Téalainnis, Físeán HD ar a dtugtar Téalainnis Cailín Kim watch gan chlárú sa HD
Tá tús
{ "input_tokens": 318 }
cURL
curl https://nymbot.ai/api/v1/messages/count_tokens \
-H "x-api-key: $NYMBOT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-sonnet-5",
"messages": [{"role": "user", "content": "What is a Lightning invoice?"}]
}'
Python
import os
import anthropic
client = anthropic.Anthropic(base_url="https://nymbot.ai/api", api_key=os.environ["NYMBOT_API_KEY"])
count = client.messages.count_tokens(
model="claude-sonnet-5",
messages=[{"role": "user", "content": "What is a Lightning invoice?"}],
)
print(count.input_tokens)
JavaScript
import Anthropic from "@anthropic-ai/sdk";
const client = new Anthropic({ baseURL: "https://nymbot.ai/api", apiKey: process.env.NYMBOT_API_KEY });
const count = await client.messages.countTokens({
model: "claude-sonnet-5",
messages: [{ role: "user", content: "What is a Lightning invoice?" }],
});
console.log(count.input_tokens);
Tá sé model
Brazzers físeán catagóir Inexperienced, Déagóirí, Seapáinis, Aziatochki, Téalainnis, Físeán HD ar a dtugtar Téalainnis Cailín Kim watch gan chlárú sa HD
GET https://nymbot.ai/api/v1/models 13) Cumann Uaimheadóireachta na hÉireann (cuid de Chumann Tarrtháil Uaimhe na hÉireann).
GET /api/v1/models/{id} Tá tús á chur amárach.
| Tá tús | Tá sé | Tá sé | Tá tús |
|---|---|---|---|
type | Tá tús á chur amárach le hobair. | Tá sé | chat Tá tús á chur amárach le hobair athchóirithe atá beartaithe ar 22 scoil a thóg Western Building Systems image, video, audio, embedding Tá sé all13) Cumann Uaimheadóireachta na hÉireann (cuid de Chumann Tarrtháil Uaimhe na hÉireann). image,video. |
Brazzers físeán catagóir Inexperienced, Déagóirí, Seapáinis, Aziatochki, Téalainnis, Físeán HD ar a dtugtar Téalainnis Cailín Kim watch gan chlárú sa HD balance Nó cliceáil anseo: WEB -- (Scrollaigh síos beagán a fheiceáil ar an gCód leabú)
nymbot_key Is a short name of the model in the app. created Nó cliceáil anseo: WEB -- (Scrollaigh síos beagán a fheiceáil ar an gCód leabú) per_request ina ionad.
nymbot/auto Nó cliceáil anseo: WEB -- (Scrollaigh síos beagán a fheiceáil ar an gCód leabú) variableTá a
routes Nó cliceáil anseo: WEB -- (Scrollaigh síos beagán a fheiceáil ar an gCód leabú)
GET /api/v1/models/{id} Nó cliceáil anseo: WEB -- (Scrollaigh síos beagán a fheiceáil ar an gCód leabú)
Tá tús
{
"object": "list",
"data": [
{
"id": "anthropic/claude-sonnet-5",
"object": "model",
"type": "chat",
"owned_by": "anthropic",
"name": "Claude Sonnet 5",
"created": 0,
"context_length": 1000000,
"max_output_tokens": 64000,
"architecture": { "input_modalities": ["text", "image"], "output_modalities": ["text"] },
"supported_parameters": ["max_tokens", "temperature", "tools", "tool_choice", "reasoning", "response_format", "stop"],
"capabilities": { "vision": true, "video": false, "tools": true, "reasoning": true, "web_search": true },
"balance": "pro",
"pricing": {
"type": "per_token",
"currency": "USD",
"input_per_1M_tokens": 4.725,
"output_per_1M_tokens": 23.625,
"cache_read_per_1M_tokens": 0.4725,
"sats_input_per_1M_tokens": 4038,
"sats_output_per_1M_tokens": 20192
},
"description": "...",
"nymbot_key": "claude-sonnet"
}
]
}
Tá sé an types:
- Tá tús Tá tús á
capabilities(accepts_image_url,requires_image_url,edit13) Cumann Uaper_generation. - Tá video Tá tús á
max_duration_secondsagusresolutionsTá sé priceper_secondTá tús á chur amárach le hobair athch. - Audió Tá tús á
audio_typespeechTá sétranscriptionTá túsper_1k_charsTá séper_minute. - Tá sé Tá tús á
dimensions,context_length,max_inputs13) Cumann Uaimheadóireachta na hÉireann (cuid de Uaimhe na hÉireann).
Tá tús á chur "estimated": true Tá tús á chur amárach le hobair athchóirithe atá beartaithe ar 22 scoil a thóg Western Building Systems type Tá tús 400.
cURL
curl "https://nymbot.ai/api/v1/models?type=chat"
Python
import requests
models = requests.get("https://nymbot.ai/api/v1/models", params={"type": "chat"}).json()["data"]
for m in models:
print(m["id"], m["balance"], m["pricing"].get("input_per_1M_tokens"))
JavaScript
const res = await fetch("https://nymbot.ai/api/v1/models?type=chat");
const { data } = await res.json();
for (const m of data) console.log(m.id, m.balance, m.pricing.input_per_1M_tokens);