CraftX gives students and developers instant access to powerful AI capabilities through a single API. Recharge your wallet via bKash, Nagad, or Rocket — and start building today.
const response = await fetch("https://api.craftx.io/v1/chat/completions", {
method: "POST",
headers: {
"Authorization": `Bearer ${CRAFTX_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
model: "cc-text-pro",
messages: [{ role: "user", content: "Hello!" }],
}),
});
const data = await response.json();
console.log(data.choices[0].message.content);
No credit card required. No subscriptions. Just an API key and tokens.
Register with your email and get instant access to the CraftX dashboard and your personal API key.
Top up your BDT wallet instantly via bKash, Nagad, or Rocket. Verified and credited within hours.
Use your API key to make requests to any available AI model. Pay only for what you use — per token.
Choose from our curated selection of high-performance AI models.
| Model | Category | Input (per 1K) | Output (per 1K) |
|---|---|---|---|
| Loading API Pricing... | |||
Recharge your wallet using Bangladesh's most trusted payment platforms.
Drop-in compatible API. Switch from any standard AI provider in minutes.
const res = await fetch("https://api.craftx.io/v1/chat/completions", {
method: "POST",
headers: {
"Authorization": `Bearer ${API_KEY}`,
"Content-Type": "application/json"
},
body: JSON.stringify({
model: "cc-text-pro",
messages: [{
role: "user",
content: "Explain quantum computing in simple terms"
}],
max_tokens: 512
})
});
const data = await res.json();
console.log(data.choices[0].message.content);
import requests
response = requests.post(
"https://api.craftx.io/v1/chat/completions",
headers={
"Authorization": f"Bearer {API_KEY}",
"Content-Type": "application/json"
},
json={
"model": "cc-text-pro",
"messages": [{
"role": "user",
"content": "Explain quantum computing"
}],
"max_tokens": 512
}
)
print(response.json()["choices"][0]["message"]["content"])
curl -X POST https://api.craftx.io/v1/chat/completions \
-H "Authorization: Bearer $CRAFTX_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "cc-text-pro",
"messages": [{
"role": "user",
"content": "Explain quantum computing"
}],
"max_tokens": 512
}'
{
"id": "chatcmpl-cc9xz...",
"object": "chat.completion",
"model": "cc-text-pro",
"choices": [{
"message": {
"role": "assistant",
"content": "Quantum computing harnesses..."
},
"finish_reason": "stop"
}],
"usage": {
"prompt_tokens": 12,
"completion_tokens": 143,
"total_tokens": 155
}
}
Track every token, every call. Live dashboard with per-model breakdowns and cost analytics.
Get your unique API key the moment you register. Regenerate it at any time from your dashboard.
Native Bangladeshi Taka billing. No foreign exchange headaches. Top up via local mobile banking.
Pricing is set by the platform admin — ensuring fair, transparent rates for all users.
All API traffic is encrypted. Rate limiting, key rotation, and audit logs built in by default.
Our infrastructure routes requests with minimal overhead — delivering responses at production speed.