Free Claude 3.5 Sonnet API
อัปเดตเมื่อ 2/7/2569
Industry leader for coding tasks and nuanced reasoning.
เกี่ยวกับโมเดล
Why choose Claude 3.5 Sonnet?
Claude 3.5 Sonnet stands out as the industry leader for coding tasks. It natively supports computer use capabilities, excels at understanding large codebases, and provides incredibly nuanced reasoning in its outputs.
วิธีเรียกใช้ Claude 3.5 Sonnet
curl https://ai-gateway.vercel.sh/v1/chat/completions \
-H "Authorization: Bearer $AI_GATEWAY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"anthropic/claude-3.5-sonnet","messages":[{"role":"user","content":"Refactor this function into smaller pure functions."}]}'from openai import OpenAI
client = OpenAI(base_url="https://ai-gateway.vercel.sh/v1", api_key="AI_GATEWAY_API_KEY")
response = client.chat.completions.create(
model="anthropic/claude-3.5-sonnet",
messages=[{"role": "user", "content": "Refactor this function into smaller pure functions."}],
)
print(response.choices[0].message.content)import { generateText } from "ai";
const { text } = await generateText({
model: "anthropic/claude-3.5-sonnet",
prompt: "Refactor this function into smaller pure functions.",
});
console.log(text);รายละเอียดผู้ให้บริการ
แพลตฟอร์มต่อไปนี้ให้การเข้าถึง Claude 3.5 Sonnet ฟรีผ่านระดับฟรี เครดิตทดลองใช้ หรือโควตารายวัน
| ผู้ให้บริการ | หน้าต่างบริบท | โควต้าฟรี | ต้องใช้บัตร | คะแนน | การดำเนินการ |
|---|---|---|---|---|---|
| Vercel AI Gateway | 200K | $5/เดือน | ไม่ใช่ | Details |
คำถามที่พบบ่อย
Claude 3.5 Sonnet ใช้งานฟรีหรือไม่?
ใช่ Claude 3.5 Sonnet ใช้งานได้ฟรีผ่านผู้ให้บริการ 1 รายที่แสดงด้านล่าง โดยไม่ต้องชำระเงิน
มีขีดจำกัดอัตราและโควตาอะไรบ้าง?
การเข้าถึงแบบฟรีแตกต่างกันไปตามผู้ให้บริการ — Vercel AI Gateway: เครดิตรายเดือน
จะรับคีย์ API ฟรีของ Claude 3.5 Sonnet ได้อย่างไร?
สมัครใช้งานกับ Vercel AI Gateway แล้วสร้างคีย์ API จากแดชบอร์ดของคุณ ดูรายละเอียดผู้ให้บริการด้านบนสำหรับขั้นตอนที่ชัดเจน
ผู้ให้บริการรายใดให้บริการ Claude 3.5 Sonnet ฟรีบ้าง?
ปัจจุบัน Claude 3.5 Sonnet ใช้งานได้ฟรีผ่าน: Vercel AI Gateway
รู้จักผู้ให้บริการฟรีรายอื่นสำหรับ Claude 3.5 Sonnet หรือไม่?
ช่วยเหลือชุมชนโดยแบ่งปันวิธีอื่นๆ ในการเข้าถึงโมเดลนี้ฟรี
ความคิดเห็นจากชุมชน
ความคิดเห็นผูกกับบัญชี GitHub ของคุณ — เข้าสู่ระบบเพื่อร่วมพูดคุย