Skip to main content

Heterogeneous task ledger · One endpoint for everything

Translation, arithmetic, JSON conversion, image reading, web lookup: 20 small tasks through a single model=auto endpoint with no model switching or parameter tuning.

Translation, arithmetic checks, JSON conversion, image reading, web lookup: 20 completely different small tasks, all through one model=auto endpoint with no model switching and no parameter tuning. Result: 20/20 completed, and all 15 tasks with standard answers passed programmatic checks. auto is the smart model offered by Token Plan Personal Edition: it matches underlying capabilities to the request content, balancing quality and cost.
Disclaimer: The content shown on this page is all generated by AI models and is for reference only; it does not constitute any guarantee of results. Task materials (companies, people, posters) are fictional, and web-verified content reflects results at run time. Actual output and Credits consumption are subject to "Usage Details" in the console.
Call chain: 20 task instructions (text ×11, image ×3, web ×4, mixed ×2) → one curl template, one model=auto request per task (Responses API) → 20/20 completed → programmatic checks on 15 standard-answer tasks → ledger.

Actual output

The table records all 20 requests, one row per request. The "Search" column is the number of web_search_call entries actually present in the response.
#CategoryTaskStatusSearch
1TextTranslationcompleted—
2TextClassificationcompleted—
3TextMathcompleted—
4TextExtractioncompleted—
5TextDatecompleted—
6TextConversioncompleted—
7TextProofreadingcompleted—
8TextFormattingcompleted—
9TextLogiccompleted—
10TextSummarizationcompleted—
11TextPinyincompleted—
12ImageDescribe image (URL)completed—
13ImagePoster extraction (base64)completed—
14ImageText in image (base64)completed—
15WebWeathercompleted1
16WebVenue verificationcompleted1
17WebPolicy verificationcompleted3
18WebFact verificationcompleted1
19MixedMath + webcompleted1
20MixedWord limitcompleted—
Total20/20 completed7

Objective check: 15 tasks with standard answers

#TaskStandard answerModel outputResult
3Discount check126%126%Pass
5Day-of-week calculationFriday (independently checked with datetime)5Pass
6Miles conversion5.63 km5.63Pass
7Typo correction分晰→分析, 方按→方案分析Pass
9LogicYes (contrapositive)YesPass
11Idiom pinyinwèi yuān qū yúwèi yuān qū yúPass
13Poster date extractionDec 5, 14:00–17:00 (ground truth)Dec 5, 14:00-17:00Pass
16Venue verificationExists, opened in 20222022Pass
18Web fact checkLászló Krasznahorkai (2025 Nobel literature)KrasznahorkaiPass
19Multi-step mathTotal CNY 7,0007000Pass
20Word-limited summary≤50 characters星尘Pass
4Contract clause extraction4-field JSON (machine-checkable values)杭州青栎科技有限公司Pass
8Record to JSON3-element JSON array张伟Pass
12Image description (URL)Woman + Labrador + beach (ground truth)LabradorPass
14Read title from long base64 image"时光影像信" title (ground truth)时光影像信Pass
The other 5 tasks are open-ended generation (translation, classification rationale, summary points, real-time weather/policy, and so on). Their outputs were recorded one by one and reviewed manually.

Procedure

Step 1: Build a task pool with checkable answers

A mixed batch needs three input types: plain text (translation/math/JSON/logic/pinyin), image-bearing (URL or base64), and web-dependent (weather/facts/policy). Give each task a standard answer or a physical reference so the check has an objective basis; only then is an all-green ledger defensible.

Step 2: One curl template, no model switch

curl -X POST https://token-plan.cn-beijing.maas.aliyuncs.com/compatible-mode/v1/responses \
  -H "Authorization: Bearer $TOKEN_PLAN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "auto",
       "input": [{"role": "user", "content": [
         {"type": "input_text", "text": "<task instruction>"}]}]}'
For image tasks, add {"type":"input_image","image_url":"data:image/png;base64,..."} to content. Local files can be embedded as base64 without hosting them publicly. For web tasks, add "tools": [{"type": "web_search"}] at the top level.

Step 3: Image tasks: three examples with instructions and outputs

The three image tasks cover two image input methods and two reading needs. The input image, instruction, and output are shown below.
T12 input: a woman and a Labrador on a beach

T12 describe image (public URL)

Instruction: “Describe the main content of the image in one sentence.”

Output: “A woman interacting with a Labrador dog on a beach,” which matches the image.

T13 input: fictional reading-season poster in English

T13 poster extraction (base64)

Instruction: “Extract only the event date and time from the poster, format: Month Day HH:MM-HH:MM.”

Output: December 5, 14:00-17:00, which matches the poster ground truth.

T14 input: fictional English product long image

T14 read title from a long image (base64)

Instruction: “What is the title text at the top of the image? Copy it exactly.”

Output: “Time-Image Letter · Turn what you want to say into a moving, listenable letter,” a content match.

Step 4: Web task example (T19: calculate first, then look up the exchange rate)

Instruction: "Calculate the total of these three sales figures: CNY 1,280, CNY 2,450, and CNY 3,270. Then look up today's CNY-to-USD exchange rate and convert the total to USD. Give the total, the rate used, and the converted result."

Step 5: Build the ledger and run programmatic checks

Write each request's status and output to a ledger file; tasks with standard answers are checked by a script rather than by eye. Open-ended outputs are recorded and reviewed manually.

Other output samples

T3 discount check
126%
Derivation: cost × (1 + 40%) × 90% = cost × 1.4 × 0.9 = cost × 126%.
T7 typo correction
Two typos and their corrections:
1. "分晰" → "分析" ("晰" should be "析")
2. "方按" → "方案" ("按" should be "案")
Corrected sentence: 团队已完成问题分析,并制定了整改方案。
T14 read title from long base64 image
时光影像信·把想说的话做成会动、能听的一封信

Notes

  • Task pool design: Each task should have a checkable answer (standard answer or physical reference), and the checks should be scripted. That is what makes the ledger reliable.
  • Image input: Base64 embeds directly in the request body, so local screenshots do not need to be uploaded first; public images can go straight into image_url.
  • Web tasks: The number of searches varies (1–3 here). Reconcile against the web_search_call records in the response.