[05:07:39] @posix_memalign Are you able to purge my wiki's cache pretty please? https://portalmod.miraheze.org/wiki/PortalMod_Wiki [05:11:00] Done. Purged `portalmod.miraheze.org/w/load.php` [05:11:30] Though I think it might be better to ask Waki to do it. Not sure if he's done anything on Cloudflare yet. If not it would be a good opportunity to test purging. [16:21:08] [1/2] I think [Gemini 4 Hydrogen](https://aistudio.google.com/u/1/docs/models/gemini-4-hydrogen) at API prices would be a decent model, and I find the Gemini/Gemma line of models have very nice prose output. In terms of a more "libre" approach, from my understanding of the CreateWiki code, it is currently hardcoded to work with OpenAI models and keys only. Putting an abstraction layer [16:21:08] [2/2] on top for inference providers may he [16:21:58] In the TypeScript/JavaScript world, there are nice abstraction layers like the Vercel AI SDK that wrap multiple providers. Sadly that's not really there in the PHP world... [16:23:39] Pi agent, which @posix_memalign mentioned is also TypeScript based. [16:23:53] Plugins for it would have to be written in TypeScript or JavaScript. [16:29:38] It looks like GPT-5.6 Luna is being used right now [[1](https://github.com/miraheze/puppet/blob/4178720a1e2ef8ea9cfad9d1d3d76afef30d7547/modules/mediawiki/templates/PrivateSettings.php#L32)]. [17:12:12] [1/30] I made an okay breakdown of the costs of different inference providers, whatever I thought of first. Let me know if I got anything wrong. I don't know of ZDR (Zero Data Retention) is an applicable factor here, but I mentioned it nonetheless. [17:12:12] [2/30] - GPT 5.6 Luna (current) - $0.20 input, [17:12:13] [3/30] $1.20 output, 1,050,000 token context window, ZDR: yes with exceptions [1] [17:12:13] [4/30] - Claude Haiku 4.5 - $1.00 input, [17:12:13] [5/30] $5.00 output, 200K token context window, ZDR: yes with exceptions [2] [17:12:13] [6/30] - Gemini 4 Hydrogen - $1.50 input, [17:12:14] [7/30] $7.50 output, ~1M token context window, ZDR: no, VertexAI only [3] [17:12:14] [8/30] - Gemini 3.8 Flash - $0.75 input, [17:12:14] [9/30] $3.75 output, ~1.05M token context window, ZDR: no, VertexAI only [3] [17:12:15] [10/30] - Gemini 3.5 Flash Lite - $0.30 input, [17:12:15] [11/30] $2.50 output, ~1.05M token context window, ZDR: no, VertexAI only [3] [17:12:16] [12/30] - DeepSeek 4.1 Flash - $0.15 input (off-peak, cache miss), [17:12:16] [13/30] $0.60 output (off-peak), 1M token context window, ZDR: no [4] [17:12:17] [14/30] - Muse Wonder - $4.00 input, [17:12:17] [15/30] $20.00 output, ~1M token context window, ZDR: only after contacting support [6] [17:12:18] [16/30] - Muse Spark 1.2 Contributor - $0.10 input, [17:12:18] [17/30] $0.20 output, ~1M token context window, ZDR: no [6] [17:12:19] [18/30] - Muse Spark 1.2 - $1.25 input, [17:12:19] [19/30] $4.25 output, ~1M token context window, ZDR: only after contacting support [6] [17:12:20] [20/30] - Grok 4.3 - $1.25 input, [17:12:20] [21/30] $2.50 output, 1M token context window, ZDR: yes, self-serve but not reconmmended, xai does not reconmnend because it breaks features like caching [7] [17:12:21] [22/30] - GLM-5.3 - $1.40 input, [17:12:21] [23/30] $4.40 output, 1M token context window, ZDR: yes [8] [17:12:22] [24/30] [1]: https://developers.openai.com/api/docs/models/gpt-5.6-luna [17:12:22] [25/30] [2]: https://platform.claude.com/docs/en/models/haiku-4-5/overview [17:12:23] [26/30] [3]: https://ai.google.dev/pricing [17:12:23] [27/30] [4]: https://api-docs.deepseek.com/quick_start/pricing [17:12:24] [28/30] [6]: https://dev.meta.ai/docs/pricing-rate-limits [17:12:24] [29/30] [7]: https://docs.x.ai/developers/models [17:12:25] [30/30] [8]: https://docs.z.ai/guides/overview/pricing [17:24:44] [1/3] The examples giving better messaging is what I've been doing over at SSW and also for some general embedded use cases I've been playing with using Gemma 4B. Google's prompt engineering guides have been quite helpful for me when guiding smaller parameter LLMs, but it may be less necessary with the frontiers I mentioned and that are currently being used. [17:24:45] [2/3] A technique that seems to work very well for me for one shot use cases is to give LLMs 6 examples, short, medium, and long for how it should write for open ended writing, and for closed end writing giving them structured parameters like in JSON they have to fill in, then on the code/harness side localizing the response by filling in the parameters in a binned [17:24:45] [3/3] response. [17:39:55] I could make a standalone POC in TypeScript using Pi later today based around Gemini. [17:46:09] claude generally seems to understand well but open router have zdr for most endpoints that support it automatically which is good [17:46:50] anyway model wise I just generally do find that claude is better than oai but haven’t troed it too far with others [17:47:11] a fine tune of qwen 3 or similar could be interesting there though [17:57:01] LMAO Muse Wonder pricing [20:21:24] @originalauthority off your ehad do you know if TPT is compatible with Temp Accounts [20:57:56] Kinda in the sense that it purposefully doesn’t work. [20:58:04] Petrus did the patch iirc [20:58:12] ^ @pixldev [21:03:08] Good enough for me [21:03:15] If it won’t explode that passes [21:58:05] I have a PoC that uses python to call OpenRouter models. In fact since PHP can call any other process with the shell (e.g. `python some_program.py -r "wiki request body"`) it can leverage API libraries in any other language this way. Inter-process communication is usually slow, but for a one-off program like this it isn't too bad.