Skip to content

Instantly share code, notes, and snippets.

View chatpongs's full-sized avatar

Chatpong Suteesuksataporn chatpongs

View GitHub Profile
@chatpongs
chatpongs / models.json
Last active September 9, 2026 17:46
LiteLLM cost map — 4 entries only (auto/pro/sonic/zero, 1M ctx). Needs MODEL_COST_MAP_MAX_SHRINK_RATIO=0 + MODEL_COST_MAP_MIN_MODEL_COUNT=4
{
"auto": {
"cache_creation_input_token_cost": 0,
"cache_read_input_token_cost": 2.6e-07,
"input_cost_per_token": 1.4e-06,
"output_cost_per_token": 4.4e-06,
"litellm_provider": "openai",
"max_input_tokens": 1048576,
"max_output_tokens": 128000,
"mode": "chat",
@chatpongs
chatpongs / CloudBundle.cs
Last active April 1, 2019 21:59
Unity C# script to let Unity Cloud Build create bundles and upload them to some server
using System.IO;
using UnityEngine;
using UnityEditor;
using UnityEditor.Callbacks;
using AssetBundles; // Require AssetBundleManager available here https://www.assetstore.unity3d.com/en/#!/content/45836
// Place this file in Editor filder
public class CloudBundle{
[PostProcessBuildAttribute(1)]
public static void OnPostprocessBuild(BuildTarget target, string pathToBuiltProject) {