Overview Tev1 4B Experimental
Tev1 4B Experimental by Togethercomputer is available through the Chabokan API. Reported inputs: Text. Outputs: Decisions. The reported context window is 32,768 tokens.
Description supplied in the catalogue
Input & output
- Input
- text
- Output
- decisions
- Maximum output
- 8 tokens
Supported parameters
API usage Tev1 4B Experimental
Keep real keys out of public code. Examples read CHABOKAN_API_KEY from the environment.
import os
import httpx
response = httpx.post(
"https://ai.chabokan.net/v1/decisions",
headers={"Authorization": f"Bearer {os.environ['CHABOKAN_API_KEY']}"},
json={
"model": "togethercomputer/tev1-4b-experimental",
"state": "Checkout is broken and customers cannot pay.",
"questions": {
"is_bug": {"type": "noul", "instructions": "Is this a software defect?"}
},
},
timeout=60,
)
response.raise_for_status()
print(response.json()["answers"])
curl https://ai.chabokan.net/v1/decisions \
-H "Authorization: Bearer $CHABOKAN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "togethercomputer/tev1-4b-experimental",
"state": "Checkout is broken and customers cannot pay.",
"questions": {
"is_bug": {"type": "noul", "instructions": "Is this a software defect?"}
}
}'
const response = await fetch("https://ai.chabokan.net/v1/decisions", {
method: "POST",
headers: {
"Authorization": `Bearer ${process.env.CHABOKAN_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
model: "togethercomputer/tev1-4b-experimental",
state: "Checkout is broken and customers cannot pay.",
questions: {
is_bug: { type: "noul", instructions: "Is this a software defect?" },
},
}),
});
if (!response.ok) throw new Error(`HTTP ${response.status}`);
console.log((await response.json()).answers);
Pricing and cost estimates Tev1 4B Experimental
Input and output tokens are priced separately. Use the calculator below to estimate costs for your model and request volume. Final rates depend on your account level and actual usage; review any reported additional charges separately.
More from this developer ↗Estimate AI model API costs
Estimate token costs by choosing a model, request count, and input and output volumes. Rates come from the same catalogue as the model pricing.
Prices default to level 3. Level 1 is the standard price; check your console for account eligibility and model access.
Token estimate only; image, request, web search, and other charges are excluded. The minimum request fee applies. Your final bill depends on actual usage and account level.