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
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."}]}'
python
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)
javascript
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 Gateway200Kเครดิตรายเดือน
$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

ความคิดเห็นจากชุมชน

ความคิดเห็นผูกกับบัญชี GitHub ของคุณ — เข้าสู่ระบบเพื่อร่วมพูดคุย

รู้จักผู้ให้บริการฟรีรายอื่นสำหรับ Claude 3.5 Sonnet หรือไม่?

ช่วยเหลือชุมชนโดยแบ่งปันวิธีอื่นๆ ในการเข้าถึงโมเดลนี้ฟรี