Register and share your invite link to earn from video plays and referrals.

Search results for modelpage
modelpage community
One keyword maps to one global community path.
Create community
People
Not Found
Tweets including modelpage
Okay my GPT-6.1 Terra benchmark with @VulcanBench is now finished 🖖 And before I talk about the key insights from this one, let me also remind everyone that VulcanBench is a coding benchmark. 100% of the tasks in my eval suite are coding tasks. Having now used Terra all week I can tell you, it's a stellar model for computer use, I'm crazy impressed. But VulcanBench isn't about seeing how good a model is at computer use, it's all about seeing how well a model completes more complex coding tasks. So now for analysis of GPT-6.1 Terra when it comes to coding. I typically say a score between 80 - 90 on Frontier v4 is the sweet spot for routine daily coding tasks. For GPT-6.1 Terra, this means that for coding, you'll want to use Extra High or Max only. Low, Medium, and High don't really make the cut. Looking at cost-per-task, it's a very inexpensive model to use, but when you look at it side-by-side with GPT-6.1 Sol, I'd probably just use Sol. For me, after looking at this data, I still plan to use GPT-6.1 Terra as my go-to for computer use, but I probably won't use it for coding. As usual, as a completely independent benchmark, everything I do at VulcanBench is available for you to review, inspect, and even run yourself if you want to. And the traces now include tool calls so you can really examine exactly how every model I benchmark thinks! Benchmark report: Model page: Public traces on GitHub: Live long and benchmark 🖖
Show more
ITZY Yuna modelpress photoshoot #itzy# #yuna#
# Practical ways to use the Claude Agent SDK 💰 Track agent costs per step and per model to optimize your budget. Cost and Usage Tracking uses `total_cost_usd` and `modelUsage` to monitor token consumption and costs in real time. 📌 Title: Cost and Usage Tracking 🔗 URL: 🧩 Overview ` gives cumulative estimated cost per call. `modelUsage` breaks down tokens by model. Prompt caching optimization can significantly reduce costs. 🛠 How to use it Read `total_cost_usd` from `ResultMessage`. Deduplicate using `AssistantMessage` IDs for accurate per-step accounting. 🏗 Practical usage - Monitor `total_cost_usd` per `query()` call and trigger alerts when thresholds are exceeded. - Use `modelUsage` to break down costs between sub-agent Haiku and main Opus usage, visualizing where costs concentrate. - Set `ENABLE_PROMPT_CACHING_1H=1` to extend TTL from 5 minutes to 1 hour, preventing cache misses across many short sessions. - Accumulate `total_cost_usd` across multiple `query()` calls for session-level cost management. 💡 Use cases 📊 Per-step cost visualization dashboard 🔔 Automatic budget threshold alerts ⚡ Prompt cache optimization for cost reduction ⚠️ Watch out `total_cost_usd` is an approximate estimate. Use the Usage and Cost API / Console for authoritative billing. The SDK doesn't provide session totals — accumulate on the app side. #ClaudeAgentSDK# #AI#
Show more
# Useful but Little-Known Features of Claude Agent SDK 🌍 Do you really know how much your agent runs cost? Detailed tracking makes it visible! Claude Agent SDK provides granular token usage and cost breakdowns for every query. 📌 Title: Detailed Cost and Usage Tracking 🔗 URL: 🧩 Overview `ResultMessage` includes `total_cost_usd` (estimated cost), `usage` (token breakdown), and `num_turns` (turn count), available on all result subtypes including errors. Additionally, `model_usage` (Python) / `modelUsage` (TypeScript) provides per-model cost and token breakdowns. When parallel tool calls occur, messages share the same ID with duplicate usage data, so ID-based deduplication is essential for accurate counting. 🛠 How to Use ```python # Python - Get total cost for a query from claude_agent_sdk import query, ResultMessage async for message in query(prompt="Summarize this project"): if isinstance(message, ResultMessage): print(f"Total cost: ${ or 0}") # Per-model breakdown if message.model_usage: for model, usage in message.model_usage.items(): print(f" {model}: ${usage['costUSD']:.4f}") print(f" Input tokens: {usage['inputTokens']}") print(f" Cache read: {usage['cacheReadInputTokens']}") ``` ```typescript // TypeScript - Accumulate costs across multiple queries import { query } from "@anthropic-ai/claude-agent-sdk"; let totalSpend = 0; for (const prompt of prompts) { for await (const message of query({ prompt })) { if (message.type === "result") { totalSpend += // Per-model breakdown for (const [model, usage] of Object.entries(message.modelUsage)) { console.log(`${model}: $${usage.costUSD.toFixed(4)}`); } } } } console.log(`Total: $${totalSpend.toFixed(4)}`); ``` 🏗 Integration into Production Systems - Send `total_cost_usd` to monitoring systems for real-time cost trend visualization - Analyze per-model costs via `model_usage` to optimize subagent cost allocation - Calls that `resume` the same session already include the session's earlier spend (Claude Code v2.1.277 and later), so read the latest result rather than summing, which double-counts; implement summation logic only for independent calls that share no session - Errors still incur costs, so always record costs from failed `ResultMessage` instances too 💡 Use Cases 💰 Report per-user usage costs in multi-tenant environments 📊 Analyze per-model cost breakdowns to find optimal model configurations 🔍 Monitor cache token ratios (`cache_read_input_tokens`) to measure prompt caching effectiveness ⚠️ Caveats - `total_cost_usd` is a client-side estimate and may differ from actual billing. Use the Usage and Cost API for authoritative billing data - Parallel tool calls produce duplicate messages with the same ID; deduplicate by ID to avoid inflated token counts - Setting `ENABLE_PROMPT_CACHING_1H` enables 1-hour TTL caching but increases write costs ✨ No cost optimization without cost visibility. Start by integrating tracking to understand your agent's spending patterns! #ClaudeAgentSDK# #AIAgent#
Show more
# Useful but Little-Known Features of ADK 2.0 🌍 Want to build AI agents that run entirely on your own hardware, with no cloud API dependency? ADK 2.0 supports local and self-hosted model serving through LiteRT-LM, vLLM, and Ollama — enabling fully cloud-independent agent development. 📌 Title: Local & Self-Hosting with LiteRT-LM / vLLM / Ollama 🔗 URL: 🧩 Overview LiteRT-LM is a C++-based inference library optimized for edge platforms. Simply download a model with `lit pull` and start a local server with `lit serve` — then point your ADK agent to the local endpoint via the `base_url` parameter. The same pattern works with vLLM and Ollama-hosted models, giving you flexibility across different hosting environments. 🛠 How to use it With LiteRT-LM, first download the model and start the server. ```bash # Download the model lit pull gemma3n-e2b # Start local server lit serve --port 8001 ``` Then connect your ADK agent by specifying the `base_url`. ```python from google.adk.agents import Agent from google.adk.models import Gemini agent = Agent( name="local_agent", model=Gemini( model="gemma3n-e2b", base_url="http://localhost:8001", ), instruction="Process tasks using the local model", ) ``` Use the `--verbose` flag during debugging to inspect request/response details. 🏗 Building it into production ・Use LiteRT-LM on edge devices for optimized latency and data privacy ・Leverage vLLM on GPU servers for high-throughput inference ・Use Ollama for rapid development and prototyping ・Implement health checks and resource monitoring for local servers to ensure stable operations 💡 Use cases 🏥 On-premises AI in healthcare where patient data cannot leave the facility 🏭 Real-time quality inspection on factory edge devices 🔐 Data sovereignty compliance in environments handling classified information ✈️ Offline-capable agents in environments with unreliable network connectivity ⚠️ Watch out Local models may underperform compared to large cloud-hosted models. On edge devices, pay attention to memory and compute constraints when choosing model sizes. LiteRT-LM is a C++ library, so verify platform-specific build compatibility beforehand. Model updates and version management must be handled manually, unlike cloud APIs that manage this transparently. ✨ Local hosting lets you build agents that satisfy privacy, latency, and offline requirements all at once. Choose between LiteRT-LM, vLLM, and Ollama based on your deployment needs. #ADK# #AIAgent#
Show more