ବିଷୟବସ୍ତୁକୁ ଯାଆନ୍ତୁ |
କିନ୍ତୁ ସେ କହିଲେ yemiti huye 1st 1st.

ଜ୍ଞାନ ଆଧାର ପଢନ୍ତୁ

Straight to the Point କାମ ଦେଉନି ସଚେତନତା

କିନ୍ତୁ ସେ କହିଲେ yemiti huye 1st 1st.

ବାର୍ତ୍ତାଳାପ ସମାପ୍ତି

କେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions!

POST https://nymbot.ai/api/v1/chat/completions Straight to the Point କାମ ଦେଉନି ସଚେତନତା!

କେବଳ model ଏବଂ messages ଆବଶ୍ଯ଼କ। ଚଯ଼ନ କରାଯାଇଥିବା ମଡେଲ ଗ୍ରହଣ କରିନଥିବା ନମୁନା ପରିମାପକକୁ ତ୍ରୁଟି ବିନା ଛାଡ଼ି ଦିଆଯାଏ, ତେଣୁ ଗୋଟିଏ ଅନୁରୋଧ ସଂସ୍ଥା ସମସ୍ତ ମଡେଲରେ କାର୍ଯ୍ଯ଼ କରିଥାଏ। ମଡେଲ ତାଲିକା ପ୍ରତ୍ଯ଼େକ ମଡେଲର ନମୁନା ପ୍ରଦାନ କରିଥାଏ। supported_parametersଛାଡ଼ାଯିବା ପରିବର୍ତ୍ତେ ଯାହା ପ୍ରତ୍ଯ଼ାଖ୍ଯ଼ାନ କରାଯାଏ ତାହା ହେଉଛି ମଡେଲ୍ ଆଦୌ କରିପାରିବ ନାହିଁଃ ଏକ ମଡେଲ୍ ପାଇଁ ଚିତ୍ର ଯାହା ଦେଖିପାରିବ ନାହିଁ, ଏକ ମଡେଲ୍ ପାଇଁ ଉପକରଣ ଯାହା ସେମାନଙ୍କୁ କଲ୍ କରିପାରିବ ନାହିଁ |

ପଢନ୍ତୁପଢନ୍ତୁଆବଶ୍ଯ଼କ।ପଢନ୍ତୁ
modelପଢନ୍ତୁହଁnymbot/auto (ସ୍ତ୍ରୀ) auto(ସ୍ତ୍ରୀ) ଲକ୍ଷ୍ମୀ ନାମ୍ନୀ ସ୍ତ୍ରୀର ଡାକ ନାମ —A name for calling a woman named Lakshmī. anthropic/claude-sonnet-5 କେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions! ସଫିକ୍ସ.
messagesଆରେହଁବାର୍ତ୍ତାଳାପ। ଭୂମିକା system, developer (ବ୍ଯ଼ବସ୍ଥା ଭାବରେ ବିବେଚନା କରାଯାଏ), user, assistant ଏବଂ toolକେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions text ଏବଂ image_url କେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions! input_audio ଏବଂ ଫାଇଲର କିଛି ଅଂଶକୁ ପ୍ରତ୍ଯ଼ାଖ୍ଯ଼ାନ କରାଯାଇଥାଏ।
streamବୁଲିଆନ୍ପଢନ୍ତୁଉତ୍ତର ଯେପରି ଲେଖାଯାଇଛି ସେପରି ପଠାନ୍ତୁ। ଦେଖନ୍ତୁ। ପଢନ୍ତୁ Streaming.
stream_optionsବସ୍ତୁପଢନ୍ତୁ{"include_usage": true} କିନ୍ତୁ ସେ କହିଲେ yemiti huye 1st 1st.
max_tokens
max_completion_tokens
ପୂର୍ଣ୍ଣ ସଂଖ୍ଯ଼ାପଢନ୍ତୁକେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions!
temperature
top_p
ସଂଖ୍ଯ଼ାପଢନ୍ତୁନମୁନା ନିଯ଼ନ୍ତ୍ରଣଃ temperature କିନ୍ତୁ ସେ କହିଲେ yemiti huye 1st 1st. top_p କିନ୍ତୁ ସେ କହିଲେ yemiti huye 1st 1st
stopStraight to the Point କାମ ଦେଉନି ସଚେତନତାପଢନ୍ତୁ(ସ୍ତ୍ରୀ) ଲକ୍ଷ୍ମୀ ନାମ୍ନୀ ସ୍ତ୍ରୀର ଡାକ ନାମ —A name for calling a woman named Lakshmī nymbot/auto.
seedପୂର୍ଣ୍ଣ ସଂଖ୍ଯ଼ାପଢନ୍ତୁକେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions!
presence_penalty
frequency_penalty
ସଂଖ୍ଯ଼ାପଢନ୍ତୁକିନ୍ତୁ ସେ କହିଲେ yemiti huye 1st 1st.
response_formatବସ୍ତୁପଢନ୍ତୁ{"type": "json_object"} କିମ୍ବା {"type": "json_schema", "json_schema": {…}}କେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions nymbot/auto.
tools
tool_choice
parallel_tool_calls
Straight to the Point କାମ ଦେଉନି ସଚେତନତାପଢନ୍ତୁStraight to the Point କାମ ଦେଉନି ସଚେତନତା ଉପକରଣ କଲ୍ପଢନ୍ତୁ web_search ଉପକରଣଟି ସକ୍ରିଯ଼ ହୋଇଯାଏ ପଢନ୍ତୁ WEB(ସ୍ତ୍ରୀ) ଲକ୍ଷ୍ମୀ ନାମ୍ନୀ ସ୍ତ୍ରୀର ଡାକ ନାମ —A name for a woman named Lakshmī. 400.
reasoning_effort
reasoning
ଷ୍ଟ୍ରିଙ୍ଗ, ବସ୍ତୁପଢନ୍ତୁ"minimal", "low", "medium" କିମ୍ବା "high", କିମ୍ବା {"effort": "high"}. "none" କିମ୍ବା {"enabled": false} Straight to the Point କାମ ଦେଉନି ସଚେତନତା! ପଢନ୍ତୁ.
pluginsଆରେପଢନ୍ତୁ[{"id": "web", "max_results": 5}] କିନ୍ତୁ ସେ କହିଲେ yemiti huye 1st 1st.
nପୂର୍ଣ୍ଣ ସଂଖ୍ଯ଼ାପଢନ୍ତୁକିନ୍ତୁ ସେ କହିଲେ yemiti huye 1st 1st. 400.
logit_bias
user
metadata
Straight to the Point କାମ ଦେଉଛନ୍ତି କି ?ପଢନ୍ତୁକେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions logit_bias (ସ୍ତ୍ରୀ) ଲକ୍ଷ୍ମୀ ନାମ୍ନୀ ସ୍ତ୍ରୀର ଡାକ ନାମ —A name for calling a woman named Lakshmī. user କିନ୍ତୁ ସେ କହିଲେ yemiti huye 1st 1st. metadata ସର୍ବାଧିକ 16ଟି ଷ୍ଟ୍ରିଂ ମୂଲ୍ଯ଼, 64 ଅକ୍ଷର ପର୍ଯ୍ଯ଼ନ୍ତ କି ଏବଂ 512 ପର୍ଯ୍ଯ଼ନ୍ତ ମୂଲ୍ଯ଼ ଧାରଣ କରିଥାଏ।

Straight to the Point କାମ ଦେଉନି ସଚେତନତା chat.completionକିନ୍ତୁ ସେ କହିଲେ yemiti huye 1st 1st. usage.cost (ଡଲାରରେ) ଏବଂ nymbot ବସ୍ତୁ। model କେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions! message.reasoning_contentକିନ୍ତୁ ସେ କହିଲେ yemiti huye 1st 1st.

ପଢନ୍ତୁ

{
  "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 କେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions: tool_calls ଯେତେବେଳେ ମଡେଲଟି ଉପକରଣ ମାଗିଥିଲା, length କେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions? content_filter କେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions stop ପଢନ୍ତୁ usage.completion_tokens_details.reasoning_tokens ସର୍ବଦା 0 ହୋଇଥାଏଃ ଲୁକ୍କାଯ଼ିତ ଯୁକ୍ତି ସଙ୍କେତଗୁଡ଼ିକୁ ଗଣନା କରାଯାଇଥାଏ, ଏବଂ ଚାର୍ଜ କରାଯାଇଥାଏ, completion_tokens.

ପଢନ୍ତୁପଢନ୍ତୁ
400ପଢନ୍ତୁ model କିମ୍ବା messages (missing_required_parameter); ଏକ ଅଡିଓ କିମ୍ବା ଫାଇଲ ଅଂଶ, କିମ୍ବା ଏକ ମଡେଲ ପାଇଁ ଚିତ୍ର ଯାହା ସେଗୁଡ଼ିକୁ ଦେଖିପାରିବ ନାହିଁ (unsupported_content); 20ରୁ ଅଧିକ ଚିତ୍ର (too_many_images); ଭୁଲ ପ୍ରକାରର କିମ୍ବା ପରିସର ବାହାରେ ଏକ ନମୁନା ପରିମାପକ (invalid_valueକେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions (invalid_image_url); ଏକ ମଡେଲ ଉପରେ ଉପକରଣ ଯାହା ସେମାନଙ୍କୁ କଲ କରିପାରିବ ନାହିଁ (unsupported_tool); n କିନ୍ତୁ ସେ କହିଲେ yemiti huye 1st 1st. :thinking ଏକ ମଡେଲ ଉପରେ ପ୍ରତ୍ଯଯ ଯାହା ଯୁକ୍ତି କରିପାରିବ ନାହିଁ (model_not_foundକେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions (upstream_rejected).
402ମଡେଲ୍ ଖର୍ଚ୍ଚ କରୁଥିବା ବଳକା ଅର୍ଥ ହୋଲ୍ଡ୍କୁ କଭର କରିପାରିବ ନାହିଁ।
403କେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions (key_limit_reachedପଢନ୍ତୁ max_tokens କିମ୍ବା କ୍ଯ଼ାପ୍ ଉପରକୁ ଉଠାନ୍ତୁ।
404କିନ୍ତୁ ସେ କହିଲେ yemiti huye 1st 1st.model_not_found).
429କେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions (upstream_rate_limited).
502, 503କିନ୍ତୁ ସେ କହିଲେ yemiti huye 1st 1st.upstream_error) କିମ୍ବା ଅତ୍ଯ଼ଧିକ ଭାରାକ୍ରାନ୍ତ (upstream_overloadedପଢନ୍ତୁ Retry-After). ଏହି ପ୍ରଯ଼ାସ ପାଇଁ ପ୍ରଦାନକାରୀ ବିଲ୍ ନକଲେ କୌଣସି ଶୁଳ୍କ ଆଦାଯ଼ କରାଯିବ ନାହିଁ।

କେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions ପଢନ୍ତୁ.

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);

ଷ୍ଟ୍ରିମିଂ

ପଢନ୍ତୁ "stream": true କେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions! chat.completion.chunk ପଢନ୍ତୁ A data: Straight to the Point କାମ ଦେଉନି ସଚେତନତା data: [DONE]ଯୁକ୍ତି ଆସିଥାଏ delta.reasoning_contentକିନ୍ତୁ ସେ କହିଲେ yemiti huye 1st 1st. delta.content.

କେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions! max_tokens କେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions Don’t Use Ginger If You Have Any of These Conditions.

ପଢନ୍ତୁ

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]
  • ଏହି ଶବ୍ଦରୁ ଆରମ୍ଭ ହେଉଥିବା ଧାଡ଼ିଗୁଡ଼ିକ : ମଡେଲ ଚିନ୍ତା କରୁଥିବା ସମଯ଼ରେ ପ୍ରତି 15 ସେକେଣ୍ଡରେ ପଠାଯାଉଥିବା କିପ୍-ଆଲାଇଭ୍ ମନ୍ତବ୍ଯ଼ଗୁଡ଼ିକ। ଏସ୍. ଏସ୍. ଇ. ଗ୍ରାହକମାନେ ସେଗୁଡ଼ିକୁ ଏଡ଼ାଇ ଯାଆନ୍ତି।
  • ପଢନ୍ତୁ "stream_options": {"include_usage": true} କିନ୍ତୁ ସେ କହିଲେ yemiti huye 1st 1st. choicesସେ କହନ୍ତି, “ଏହା ଆମ ଟୋଡ଼ା ମହିଳାମାନଙ୍କ ପାଇଁ ଚିନ୍ତାର ବିଷୟ ! nymbot ବସ୍ତୁ।
  • କେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions Don’t Use Ginger If You Have Any of These Conditions!
  • କିନ୍ତୁ ସେ କହିଲେ yemiti huye 1st 1st. 401 କିମ୍ବା 402ଏହାର ଷ୍ଟାଟସ୍ କୋଡ୍ ସହିତ ସାଧାରଣ ଜେ. ଏସ୍. ଓ. ଏନ୍. ଭାବେ ଫେରିବ, ଷ୍ଟ୍ରିମ ଭାବେ ନୁହେଁ। ଷ୍ଟ୍ରିମ ଆରମ୍ଭ ହେବା ପରେ ଏକ ତ୍ରୁଟି ଶେଷ ଥର ପାଇଁ ଆସିବ। data: {"error": {…}} ଘଟଣା, ଏବଂ ପ୍ରବାହ ବିନା ଶେଷ ହୁଏ [DONE].
  • କେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions!

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);
}

Straight to the Point କାମ ଦେଉଛନ୍ତି କି ?

Straight to the Point କାମ ଦେଉନି ସଚେତନତା tools କେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions! tool Straight to the Point କାମ ଦେଉନି ସଚେତନତା tool_call_idକେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions!

tool_choice ପଢନ୍ତୁ "auto", "none", "required" କିମ୍ବା {"type": "function", "function": {"name": "…"}}କେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions (capabilities.toolsକେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions 400 unsupported_tool ପଢନ୍ତୁ nymbot/auto ଏବଂ କିଛି କାଟାଲଗ୍ ମଡେଲ୍ ଉପରେ ଯାହା ଓପନଏଆଇର ପ୍ରତିକ୍ରିଯ଼ା ପରିବହନରେ ଚାଲିଥାଏ, ଯାହାକୁ ନିମ୍ବଟ୍ ଉପକରଣ ଦେଇପାରିବ ନାହିଁ |

ପଢନ୍ତୁ "stream": true, ଉପକରଣଗୁଡ଼ିକ ସହିତ ଏକ ଅନୁରୋଧ ଗୋଟିଏ ଅଂଶରେ ଚାଲିଥାଏ ଏବଂ ତା'ପରେ ଏକ ସାଧାରଣ ଚଙ୍କ୍ କ୍ରମ ଭାବରେ ପଠାଯାଏଃ ଭୂମିକା, ପ୍ରତ୍ଯ଼େକ ଉପକରଣ କଲ୍ ବହନ କରୁଥିବା ଗୋଟିଏ ଅଂଶ, ଏହାର ସୂଚୀ, ଆଇଡି, ନାମ ଏବଂ ଆର୍ଗ୍ଯ଼ୁମେଣ୍ଟ୍ ଏବଂ ଫିନିଶ୍ ଚଙ୍କ୍ | ଷ୍ଟ୍ରିମ ହୋଇଥିବା ଉପକରଣ କଲ୍ ପଢ଼ୁଥିବା ଗ୍ରାହକମାନେ ଏହାକୁ ପୂର୍ବପରି ପରିଚାଳନା କରନ୍ତି |

କିନ୍ତୁ ସେ କହିଲେ yemiti huye 1st 1st.

"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);

Straight to the Point କାମ ଦେଉନି ସଚେତନତା

ପଢନ୍ତୁ : Model with capabilities.vision Straight to the Point କାମ ଦେଉନି ସଚେତନତା image_url କେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions https:// ଲିଙ୍କ କିମ୍ବା ଏ data:image/…;base64, (ସ୍ତ୍ରୀ) ଲକ୍ଷ୍ମୀ ନାମ୍ନୀ ସ୍ତ୍ରୀର ଡାକ ନାମ —A name for calling a woman named Lakshmī.400 invalid_image_urlକିନ୍ତୁ ସେ କହିଲେ yemiti huye 1st 1st. detail ପଢନ୍ତୁ auto, low କିମ୍ବା high.

ପଢନ୍ତୁ nymbot/auto, ଏଥିରେ ଏକ ଚିତ୍ର ଥିବା ଏକ ଅନୁରୋଧକୁ ଏକ ମାନକ ମଡେଲକୁ ପଠାଯାଏ ଯାହା ଦେଖିପାରିବ | ବିନା ଏକ କାଟାଲଗ୍ ମଡେଲ୍ | capabilities.vision Straight to the Point କାମ ଦେଉନି ସଚେତନତା 400 unsupported_contentକେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions!

କେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions!

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);

ପଢନ୍ତୁ

ପଢନ୍ତୁ : Model with capabilities.reasoning କେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions reasoning_effort ("minimal", "low", "medium" କିମ୍ବା "high") କିମ୍ବା "reasoning": {"effort": "high"}ପଢନ୍ତୁ :thinking କେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions! nymbot/auto, :thinking Straight to the Point କାମ ଦେଉନି ସଚେତନତା.

On anthropic models the effort becomes a thinking budget of about 1,000, 2,000, 8,000 or 16,000 tokens, କ’ଣ କ’ଣ କ’ଣ max_tokens କେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions tool_choice ଗୋଟିଏ ଉପକରଣକୁ ବାଧ୍ଯ଼ କରେ, ଏବଂ ଯେତେବେଳେ ଅନୁରୋଧ ଏକ ଉପକରଣ ଚକ୍ରକୁ ଜାରି ରଖେ (ଏହାର ଶେଷ ବାର୍ତ୍ତା ହେଉଛି ଏକ ଉପକରଣ ଫଳାଫଳ), କାରଣ ଏହାକୁ ପୁନଃ ଆରମ୍ଭ କରିବା ପାଇଁ ଆନ୍ଥ୍ରୋପିକ୍ ପୂର୍ବ ସ୍ୱାକ୍ଷରିତ ଚିନ୍ତାଧାରା ଆବଶ୍ଯ଼କ କରେ | ପ୍ରତିକ୍ରିଯ଼ା ଏବଂ ବାର୍ତ୍ତା ଶେଷ ପଏଣ୍ଟରେ ମଧ୍ଯ଼ ଏହା ପ୍ରଯୁଜ୍ଯ଼ |

ଯୁକ୍ତି ଫେରିଆସେ message.reasoning_content, କିମ୍ବା delta.reasoning_content ଷ୍ଟ୍ରିମିଂ ସମଯ଼ରେ, ଉତ୍ତରରେ କେବେ ମିଶାନ୍ତୁ ନାହିଁ। ଯୁକ୍ତି ହେଉଛି ଆଉଟପୁଟ୍ ଏବଂ ଭିତରେ ଏହିପରି ଚାର୍ଜ କରାଯାଏ | completion_tokensକିଛି ପ୍ରଦାନକାରୀ ଯୁକ୍ତି ପାଠ୍ଯ଼କୁ ଆଦୌ ଫେରାନ୍ତି ନାହିଁ, ଏବଂ ଏହା ତଥାପି ଚାର୍ଜ ହୋଇଥାଏ।

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);

ମଡେଲ୍ ସଫିକ୍ସସ୍

କେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions! anthropic/claude-sonnet-5:online.

ପଢନ୍ତୁପଢନ୍ତୁ
:onlineକିନ୍ତୁ ସେ କହିଲେ yemiti huye 1st 1st. plugins: [{"id": "web"}]ଦେଖନ୍ତୁ। ପଢନ୍ତୁ WEB.
:thinkingStraight to the Point କାମ ଦେଉନି ସଚେତନତା nymbot/autoକେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions! 400 model_not_found ସହିତ & ldquo; କୌଣସି ଶେଷ ବିନ୍ଦୁ ମିଳୁନାହିଁ & rdquo;।
:nitro, :floor, :exacto, :extendedକେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions!

କେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions! 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);

କେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions!

  • କିନ୍ତୁ ସେ କହିଲେ yemiti huye 1st 1st.: "plugins": [{"id": "web", "max_results": 5}]ପଢନ୍ତୁ A :online ମଡେଲ ଉପରେ ପ୍ରତ୍ଯଯ।
  • ସେ କହନ୍ତି, “ଏହା ଆମ ଟୋଡ଼ା ମହିଳାମାନଙ୍କ ପାଇଁ ଚିନ୍ତାର ବିଷୟ !: "tools": [{"type": "web_search", "parameters": {"max_results": 5}}]କିନ୍ତୁ ସେ କହିଲେ yemiti huye 1st 1st. web_search_preview କିମ୍ବା openrouter:web_searchକେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions!

max_results ପୂର୍ବନିର୍ଦ୍ଧାରିତ ଭାବେ ଏହା 5 ଅଟେ ଏବଂ ସର୍ବାଧିକ 10 ଅଟେ। nymbot.web_search.sourcesକିନ୍ତୁ ସେ କହିଲେ yemiti huye 1st 1st. title, snippet ଏବଂ url, ଏବଂ ଯେପରି url_citation ବାର୍ତ୍ତା ଉପରେ ଟିପ୍ପଣୀ।

ପ୍ରତ୍ଯ଼େକ ସର୍ଚ୍ଚ ପାଇଁ $0.008 ଖର୍ଚ୍ଚ ହୋଇଥାଏ, ଯାହା ଟୋକେନ୍ ଉପରେ ସାଟ୍ସରେ ରୂପାନ୍ତରିତ ହୋଇଥାଏ, ଏବଂ ଏହା ହୋଲ୍ଡ୍ର ଅଂଶବିଶେଷ। ଏହା ପଢ଼ୁଥିବା ପୃଷ୍ଠାଗୁଡ଼ିକ ମଧ୍ଯ଼ ଇନ୍ପୁଟ୍ ଟୋକେନ୍ ହୋଇଥାଏ, ତେଣୁ ୱେବ୍ରୁ ମିଳୁଥିବା ଉତ୍ତରର ମୂଲ୍ଯ଼ ସେହି ସମାନ ପ୍ରଶ୍ନ ଅପେକ୍ଷା ଅଧିକ ହୋଇଥାଏ, ଯାହା ବେଳେବେଳେ ଅନେକ ଗୁଣ ଅଧିକ ପଚରା ଯାଇଥାଏ।

କିନ୍ତୁ ସେ କହିଲେ yemiti huye 1st 1st.

"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);

ପ୍ରତିକ୍ରିଯ଼ା API

କେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions!

POST https://nymbot.ai/api/v1/responses Straight to the Point କାମ ଦେଉନି ସଚେତନତା!

ପଢନ୍ତୁପଢନ୍ତୁଆବଶ୍ଯ଼କ।ପଢନ୍ତୁ
modelପଢନ୍ତୁହଁଯେଉଁ ବିଷଯ଼ରେ... ବାର୍ତ୍ତାଳାପ ସମାପ୍ତିକିନ୍ତୁ ସେ କହିଲେ yemiti huye 1st 1st.
inputStraight to the Point କାମ ଦେଉନି ସଚେତନତାହଁଗୋଟିଏ ଷ୍ଟ୍ରିଙ୍ଗ, କିମ୍ବା ଆଇଟମ୍ଗୁଡ଼ିକର ଏକ ତାଲିକାଃ ବାର୍ତ୍ତା (ଭୂମିକା) user, assistant, system, developer(ସ୍ତ୍ରୀ) ଲଢନ୍ତୁ input_text, input_image ଏବଂ output_text ପଢନ୍ତୁ , and function_call ଏବଂ function_call_output Straight to the Point କାମ ଦେଉନି ସଚେତନତା. input_image ଏକ ନିଅନ୍ତି image_url ଲିଙ୍କ କିମ୍ବା ଡାଟା ଯ଼ୁ. ଆର୍. ଏଲ୍., ଫାଇଲ ଆଇ. ଡି. ନୁହେଁ। reasoning ଏବଂ web_search_call Straight to the Point କାମ ଦେଉନି ସଚେତନତା! item_reference ପ୍ରତ୍ଯ଼ାଖ୍ଯ଼ାନ କରାଯାଏ।
instructionsପଢନ୍ତୁପଢନ୍ତୁସିଷ୍ଟମ୍ ନିର୍ଦ୍ଦେଶାବଳୀ।
max_output_tokensପୂର୍ଣ୍ଣ ସଂଖ୍ଯ଼ାପଢନ୍ତୁଲେଖିବା ପାଇଁ ସର୍ବାଧିକ ଟୋକେନ୍ |
temperature
top_p
ସଂଖ୍ଯ଼ାପଢନ୍ତୁନମୁନା ନିଯ଼ନ୍ତ୍ରଣ, ଯେଉଁଠାରେ ମଡେଲ ସେଗୁଡ଼ିକୁ ନେଇଥାଏ।
tools
tool_choice
parallel_tool_calls
Straight to the Point କାମ ଦେଉନି ସଚେତନତାପଢନ୍ତୁକ୍ରିଯ଼ା ଉପକରଣ, ପ୍ରତିକ୍ରିଯ଼ା ଆକାରରେ ({"type": "function", "name": …, "parameters": …}ପଢନ୍ତୁ A web_search କିମ୍ବା web_search_preview ଉପକରଣଟି ସକ୍ରିଯ଼ ହୋଇଯାଏ ପଢନ୍ତୁ WEB ଯେତେବେଳେ ଏହା ସାହାଯ୍ଯ଼ କରେ। ଅନ୍ଯ଼ ଅନ୍ତର୍ନିର୍ମିତ ଉପକରଣଗୁଡ଼ିକୁ ପ୍ରତ୍ଯ଼ାଖ୍ଯ଼ାନ କରାଯାଏ।
reasoningବସ୍ତୁପଢନ୍ତୁ{"effort": "minimal" | "low" | "medium" | "high"}. xhigh ଏବଂ max ପଢନ୍ତୁ high; none ସେ କହନ୍ତି, “ଏହା ଆମ ଟୋଡ଼ା ମହିଳାମାନଙ୍କ ପାଇଁ ଚିନ୍ତାର ବିଷୟ !
text.format
response_format
ବସ୍ତୁପଢନ୍ତୁକେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions json_object.
metadataବସ୍ତୁପଢନ୍ତୁପ୍ରତିକ୍ରିଯ଼ାରେ ଅପରିବର୍ତ୍ତିତ ଫେରିଲା। ସର୍ବାଧିକ 16ଟି ଷ୍ଟ୍ରିଙ୍ଗ ମୂଲ୍ଯ଼ରେ, 64ଟି ଅକ୍ଷର ପର୍ଯ୍ଯ଼ନ୍ତ କି ଏବଂ 512 ପର୍ଯ୍ଯ଼ନ୍ତ ମୂଲ୍ଯ଼।
streamବୁଲିଆନ୍ପଢନ୍ତୁStraight to the Point କାମ ଦେଉନି ସଚେତନତା.
storeବୁଲିଆନ୍ପଢନ୍ତୁକେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions "store": false.
previous_response_id
conversation
background
Straight to the Point କାମ ଦେଉନି ସଚେତନତାପଢନ୍ତୁକେବେ ଦେଖିଛନ୍ତି କି ? 400 unsupported_parameterକେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions input ପ୍ରତ୍ଯ଼େକ ଥର।

ପଢନ୍ତୁ

{
  "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 }
}

Straight to the Point କାମ ଦେଉନି ସଚେତନତା output ପଢନ୍ତୁ A function_call ପଢନ୍ତୁ call_id, name ଏବଂ arguments; ଫଳାଫଳକୁ ଏ ଭାବେ ଫେରସ୍ତ ପଠାନ୍ତୁ function_call_output ସମାନ ଜିନିଷ ସହିତ call_idକେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions reasoning ପଢନ୍ତୁ reasoning_text ବିଷଯ଼ବସ୍ତୁ, ପ୍ରଥମେ ତାଲିକାଭୁକ୍ତ। status ପଢନ୍ତୁ incomplete କିନ୍ତୁ ସେ କହିଲେ yemiti huye 1st 1st. max_output_tokens ସେ କହନ୍ତି, “ଏହା ଆମ ଟୋଡ଼ା ମହିଳାମାନଙ୍କ ପାଇଁ ଚିନ୍ତାର ବିଷୟ ! incomplete_details.reason ପଢନ୍ତୁ max_output_tokens କିମ୍ବା content_filterପ୍ରତିକ୍ରିଯ଼ା ମଧ୍ଯ଼ ଅନୁରୋଧର ସେଟିଂ (ତାପମାତ୍ରା, ଉପକରଣ, ଉପକରଣ ପସନ୍ଦ ଇତ୍ଯ଼ାଦି) କୁ ପ୍ରତିଧ୍ୱନିତ କରେ ଯେପରି ଓପନଏଆଇ କରେ, ଏବଂ ବହନ କରେ nymbot Straight to the Point କାମ ଦେଉନି ସଚେତନତା.

ଷ୍ଟ୍ରିମଡ, ପ୍ରତ୍ଯ଼େକ ଇଭେଣ୍ଟ ହେଉଛି ଏକ event: ପଢନ୍ତୁ A data: ଏକ ସହିତ ଧାଡ଼ି sequence_numberକିନ୍ତୁ ସେ କହିଲେ yemiti huye 1st 1st. response.created, response.in_progress, response.output_item.added, response.content_part.added, ଯେକୌଣସି ସଂଖ୍ଯ଼ାରେ response.output_text.delta, response.output_text.done, response.content_part.done, response.output_item.done, ଏବଂ ଶେଷରେ response.completed କେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions response.incomplete ଏହା ପରିବର୍ତ୍ତେ, ଏବଂ ପ୍ରବାହ ଆରମ୍ଭ ହେବା ପରେ ଏକ ବିଫଳତା response.failedଯୁକ୍ତିକୁ ନିଜସ୍ୱ ଧାରା ଭାବେ ବ୍ଯ଼ବହାର କରିବା response.reasoning_text.delta ଏବଂ .doneଟୁଲ୍ କଲ୍ଗୁଡ଼ିକ ବାର୍ତ୍ତା ପରେ ଆସିଥାଏ, ପ୍ରତ୍ଯ଼େକଟି ସହିତ ଏକ ଆଇଟମ୍ ଭାବରେ response.function_call_arguments.delta ଏବଂ .done.

ପଢନ୍ତୁପଢନ୍ତୁ
400ପଢନ୍ତୁ model କିମ୍ବା input; previous_response_id, conversation, background କିମ୍ବା ଏକ item_reference (unsupported_parameter); ଏକ ଅସମର୍ଥିତ ଉପକରଣ କିମ୍ବା ବିଷଯ଼ବସ୍ତୁ ପ୍ରକାର।
402, 403, 404, 429, 502, 503କେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ ।

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);

ଆନ୍ଥ୍ରୋପିକ୍ ବାର୍ତ୍ତା

ଆନ୍ଥ୍ରୋପିକ୍ ଫର୍ମାଟ୍, ଆନ୍ଥ୍ରୋପିକ୍ ଏସ୍. ଡି. କେ. ଏବଂ କ୍ଲାଉଡ୍ କୋଡ୍ ପାଇଁ। ଏହା କ୍ଯ଼ାଟାଲଗ୍ରେ ଥିବା ପ୍ରତ୍ଯ଼େକ ମଡେଲ୍ ସହିତ କାମ କରେ, କେବଳ କ୍ଲାଉଡ୍ ନୁହେଁଃ ଅନୁରୋଧକୁ ଅନୁବାଦ କରାଯାଏ, ସମାନ ପାଇପଲାଇନ୍ ମାଧ୍ଯ଼ମରେ ଚଲାନ୍ତୁ, ଏବଂ ପୁନର୍ବାର ଅନୁବାଦ କରନ୍ତୁ |

POST https://nymbot.ai/api/v1/messages - ଗୋଟିଏ ଏ. ପି. ଆଇ. କି ଦରକାର, ଯେପରି x-api-key କିମ୍ବା Authorization: Bearer.

ଦ. anthropic-version ଏବଂ anthropic-beta ଶୀର୍ଷକଗୁଡ଼ିକୁ ଗ୍ରହଣ କରାଯାଇଥାଏ ଏବଂ ଅଣଦେଖା କରାଯାଇଥାଏ। ଆନ୍ଥ୍ରୋପିକ୍ ମଡେଲ୍ର ନାମଗୁଡ଼ିକ ସୂଚୀପତ୍ର ସହିତ ମେଳ ଖାଆନ୍ତି, ତେଣୁ କ୍ଲାଉଡ୍ କୋଡ୍ ଏବଂ ଏସ୍. ଡି. କେ. ଗୁଡ଼ିକ ସେମାନେ ପୂର୍ବରୁ ବ୍ଯ଼ବହାର କରିଥିବା ନାମଗୁଡ଼ିକ ସହିତ କାମ କରିଥାନ୍ତିଃ

  • କେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions claude-sonnet-5 କିମ୍ବା anthropic/claude-opus-5ସେ କହନ୍ତି, “ଏହା ଆମ ଟୋଡ଼ା ମହିଳାମାନଙ୍କ ପାଇଁ ଚିନ୍ତାର ବିଷୟ !
  • ଅନ୍ଯ଼ଥା ଏକ ତାରିଖ (-20260514), -latestକେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions -v1କେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions [1m] ଏବଂ ଏକ anthropic/ କିମ୍ବା anthropic. କେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions (claude-haiku-4-5 ପଢନ୍ତୁ claude-haiku-4.5).
  • ଯଦି ତାହା ତଥାପି କିଛି ମେଳ ଖାଉନାହିଁ, ତେବେ ପରିବାର (ଓପସ୍, ସୋନେଟ୍ କିମ୍ବା ହାଇକୁ) ବ୍ଯ଼ବହୃତ ହୁଏ, ଯେପର୍ଯ୍ଯ଼ନ୍ତ କାଟାଲଗ୍ର ସଂସ୍କରଣ ସମାନ କିମ୍ବା ଅନୁରୋଧ କରାଯାଇଥିବା ଠାରୁ ନୂତନ |
  • କିନ୍ତୁ ସେ କହିଲେ yemiti huye 1st 1st. 404 not_found_error.
ପଢନ୍ତୁପଢନ୍ତୁଆବଶ୍ଯ଼କ।ପଢନ୍ତୁ
modelପଢନ୍ତୁହଁStraight to the Point କାମ ଦେଉନି ସଚେତନତା!
max_tokensପୂର୍ଣ୍ଣ ସଂଖ୍ଯ଼ାହଁଲେଖିବା ପାଇଁ ସର୍ବାଧିକ ଟୋକେନ୍ |
messagesଆରେହଁuser ଏବଂ assistant ସେ କହନ୍ତି, “ଏହା ଆମ ଟୋଡ଼ା ମହିଳାମାନଙ୍କ ପାଇଁ ଚିନ୍ତାର ବିଷୟ ! text, image (ସ୍ତ୍ରୀ) ଲକ୍ଷ୍ମୀ ନାମ୍ନୀ ସ୍ତ୍ରୀର ଡାକ ନାମ —A name for calling a woman named Lakshmī. tool_use ଏବଂ tool_result ପଢନ୍ତୁ thinking କିନ୍ତୁ ସେ କହିଲେ yemiti huye 1st 1st.
systemStraight to the Point କାମ ଦେଉନି ସଚେତନତାପଢନ୍ତୁStraight to the Point କାମ ଦେଉନି ସଚେତନତା.
temperature
top_p
ସଂଖ୍ଯ଼ାପଢନ୍ତୁନମୁନା ନିଯ଼ନ୍ତ୍ରଣ, ଯେଉଁଠାରେ ମଡେଲ ସେଗୁଡ଼ିକୁ ନେଇଥାଏ। top_k କିନ୍ତୁ ସେ କହିଲେ yemiti huye 1st 1st.
stop_sequencesଷ୍ଟ୍ରିଙ୍ଗର ଆରେପଢନ୍ତୁକିନ୍ତୁ ସେ କହିଲେ yemiti huye 1st 1st.
tools
tool_choice
Straight to the Point କାମ ଦେଉଛନ୍ତି କି ?ପଢନ୍ତୁପଢନ୍ତୁ name, description ଏବଂ input_schemaପଢନ୍ତୁ web_search Straight to the Point କାମ ଦେଉନି ସଚେତନତା ପଢନ୍ତୁ WEB(ସ୍ତ୍ରୀ) ଲକ୍ଷ୍ମୀ ନାମ୍ନୀ ସ୍ତ୍ରୀର ଡାକ ନାମ —A name for calling a woman named Lakshmī. unsupported_tool. tool_choice ପଢନ୍ତୁ auto, any, tool କିମ୍ବା noneପଢନ୍ତୁ disable_parallel_tool_use.
thinkingବସ୍ତୁପଢନ୍ତୁ{"type": "enabled", "budget_tokens": 8192}, {"type": "adaptive"} କିମ୍ବା {"type": "disabled"}(ସ୍ତ୍ରୀ) ଲକ୍ଷ୍ମୀ ନାମ୍ନୀ ସ୍ତ୍ରୀର ଡାକ ନାମ —A name for calling a woman named Lakshmī. output_config.effortପଢନ୍ତୁ ପଢନ୍ତୁ ।
streamବୁଲିଆନ୍ପଢନ୍ତୁStraight to the Point କାମ ଦେଉନି ସଚେତନତା.
metadataବସ୍ତୁପଢନ୍ତୁଗ୍ରହଣ କଲେ ଏବଂ ଅଣଦେଖା କଲେ।

ପଢନ୍ତୁ

{
  "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 ସେ କହନ୍ତି, “ଏହା ଆମ ଟୋଡ଼ା ମହିଳାମାନଙ୍କ ପାଇଁ ଚିନ୍ତାର ବିଷୟ ! tool_use Straight to the Point କାମ ଦେଉଛନ୍ତି କି ? thinking Straight to the Point କାମ ଦେଉନି ସଚେତନତା signature ସେ କହନ୍ତି, “ଏହା ଆମ ଟୋଡ଼ା ମହିଳାମାନଙ୍କ ପାଇଁ ଚିନ୍ତାର ବିଷୟ ! stop_reason ପଢନ୍ତୁ end_turn, max_tokens, tool_use କିମ୍ବା refusalକେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions finish_reason ପଢନ୍ତୁ ବାର୍ତ୍ତାଳାପ ସମାପ୍ତି; stop_sequence କିନ୍ତୁ ସେ କହିଲେ yemiti nullକିନ୍ତୁ ସେ କହିଲେ yemiti huye 1st 1st. input_tokens କେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions! nymbot ପଢନ୍ତୁ and the X-Nymbot-Cost-Sats ପଢନ୍ତୁ

ଷ୍ଟ୍ରିମିଂ, ଘଟଣାଗୁଡ଼ିକ ଆନ୍ଥ୍ରୋପିକ୍ ରଃ message_start, content_block_start, ping, content_block_delta (text_delta, input_json_delta କିମ୍ବା thinking_delta), content_block_stop, message_delta କେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions nymbot Straight to the Point କାମ ଦେଉନି ସଚେତନତା message_stopପଢନ୍ତୁ ping କେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions! tool_use କେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions input_json_delta.

Straight to the Point କାମ ଦେଉନି ସଚେତନତା: {"type": "error", "error": {"type": "not_found_error", "message": "…"}}Straight to the Point କାମ ଦେଉନି ସଚେତନତା 402 billing_errorStraight to the Point କାମ ଦେଉନି ସଚେତନତା 503 overloaded_errorକେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions error ପଢନ୍ତୁ ।

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);

ପଢନ୍ତୁ TOKEN

କେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions!

POST https://nymbot.ai/api/v1/messages/count_tokens - ଗୋଟିଏ ଏ. ପି. ଆଇ. କି ଦରକାର। ନିଃଶୁଳ୍କ।

Straight to the Point କାମ ଦେଉନି ସଚେତନତା ପଢନ୍ତୁ, ବିନା max_tokensକେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions!

ପଢନ୍ତୁ

{ "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);

Straight to the Point କାମ ଦେଉଛି

ପ୍ରତ୍ଯ଼େକ ମଡେଲ ଏବଂ ଜେନେରେଟରକୁ ଏ. ପି. ଆଇ. ଗ୍ରହଣ କରିଥାଏ, ଏହାର ମୂଲ୍ଯ଼ ସହିତ। ତାଲିକାଟି ଆପର ଚଯ଼ନକର୍ତ୍ତାଙ୍କ ଭଳି ସମାନ ଲାଇଭ୍ କାଟାଲଗ୍ ରୁ ପଢାଯାଏ, ତେଣୁ ସର୍ଭର ସର୍ବଦା ଏହା ହିଁ ଚଳାଇବ।

GET https://nymbot.ai/api/v1/models କେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions!

GET /api/v1/models/{id} କିନ୍ତୁ ସେ କହିଲେ yemiti huye 1st 1st.

ପଢନ୍ତୁପଢନ୍ତୁଆବଶ୍ଯ଼କ।ପଢନ୍ତୁ
typeStraight to the Point କାମ ଦେଉଛନ୍ତି କି ?ପଢନ୍ତୁchat (ପୂର୍ବନିର୍ଦ୍ଧାରିତ), image, video, audio, embedding କିମ୍ବା allସେ କହନ୍ତି, “ଏହା ଆମ ଟୋଡ଼ା ମହିଳାମାନଙ୍କ ପାଇଁ ଚିନ୍ତାର ବିଷୟ ! image,video.

ମୂଲ୍ଯ଼ ହେଉଛି ଆପଣ ଯାହା ପ୍ରଦାନ କରନ୍ତି, ଶୁଳ୍କ ଏବଂ ମାର୍ଜିନ ସହିତ, ଡଲାରରେ ଏବଂ ବର୍ତ୍ତମାନର ବିଟ୍କଏନ୍ ମୂଲ୍ଯ଼ରେ ସାଟ୍ ରେ। balance ମଡେଲ କେଉଁ ସନ୍ତୁଳନ ଖର୍ଚ୍ଚ କରେ ତାହା କୁହେ | nymbot_key କିନ୍ତୁ ସେ କହିଲେ yemiti huye 1st 1st. created କେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions! per_request ଏହା ପରିବର୍ତ୍ତେ

nymbot/auto କିନ୍ତୁ ସେ କହିଲେ yemiti huye 1st 1st. variableପଢନ୍ତୁ A routes କେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions!

GET /api/v1/models/{id} କେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions!

ପଢନ୍ତୁ

{
  "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"
    }
  ]
}

ଅନ୍ଯ଼ ପ୍ରକାରଃ

  • ଚିତ୍ର କିନ୍ତୁ ସେ କହିଲେ yemiti huye 1st 1st. capabilities (accepts_image_url, requires_image_url, editକିନ୍ତୁ ସେ କହିଲେ yemiti huye 1st 1st. per_generation.
  • ପଢନ୍ତୁ କିନ୍ତୁ ସେ କହିଲେ yemiti huye 1st 1st. max_duration_seconds ଏବଂ resolutionsକିନ୍ତୁ ସେ କହିଲେ yemiti huye 1st 1st. per_second କିନ୍ତୁ ସେ କହିଲେ yemiti huye 1st 1st.
  • ପଢନ୍ତୁ କିନ୍ତୁ ସେ କହିଲେ yemiti huye 1st 1st. audio_type speech କିମ୍ବା transcriptionପଢନ୍ତୁ per_1k_chars କିମ୍ବା per_minute.
  • ପଢନ୍ତୁ କିନ୍ତୁ ସେ କହିଲେ yemiti huye 1st 1st. dimensions, context_length, max_inputs କିନ୍ତୁ ସେ କହିଲେ yemiti huye 1st 1st.

INGREDIENTS ଆବଶ୍ୟକ ସାମଗ୍ରୀ "estimated": true କେଉଁ ଲୋକମାନେ ଅଦା ଖାଇବା କଥା ନୁହେଁ Don’t Use Ginger If You Have Any of These Conditions type ପଢନ୍ତୁ 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);